Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01085/0.01086, allocations: 106.8 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001205/0.001205, allocations: 182.2 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.33/2.33, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.394/2.394, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006389, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6915, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001456/0.693, allocations: 0.9366 MB / 0.6843 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.6941, allocations: 430.5 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.6942, allocations: 0 / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.6942, allocations: 3.938 kB / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.6943, allocations: 5.516 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.6948, allocations: 80.61 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.6949, allocations: 11.64 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.695, allocations: 1.828 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.695, allocations: 13.83 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.6951, allocations: 11.14 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.6951, allocations: 5.469 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.6953, allocations: 83 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.6954, allocations: 10.67 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.6954, allocations: 28.91 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.6956, allocations: 63.05 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6956, allocations: 0 / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6956, allocations: 0 / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6957, allocations: 1.188 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004702/0.6961, allocations: 372 kB / 0.6854 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6962, allocations: 12.03 kB / 0.6854 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.6963, allocations: 41.16 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.6963, allocations: 2.922 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.6964, allocations: 169.6 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.6965, allocations: 1.656 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.6965, allocations: 3.672 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.6966, allocations: 47.36 kB / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.6967, allocations: 0 / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.6967, allocations: 4.5 kB / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6967, allocations: 1.312 kB / 0.6857 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.6968, allocations: 17.52 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.6971, allocations: 255 kB / 0.6859 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.6972, allocations: 33.55 kB / 0.686 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6972, allocations: 5.016 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.6974, allocations: 64.34 kB / 0.686 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.6974, allocations: 1.5 kB / 0.686 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002952/0.6977, allocations: 75.64 kB / 0.6861 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.6978, allocations: 53.22 kB / 0.6862 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.6979, allocations: 108.1 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.6979, allocations: 29.64 kB / 0.6863 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.6979, allocations: 86.16 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.698, allocations: 19.17 kB / 0.6864 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.698, allocations: 4 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.6981, allocations: 315.3 kB / 0.6867 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.6982, allocations: 11.16 kB / 0.6867 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.6982, allocations: 39.56 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.6983, allocations: 17.17 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6983, allocations: 0 / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001648/0.6985, allocations: 84.59 kB / 0.6868 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.6985, allocations: 6.125 kB / 0.6868 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.6985, allocations: 5.172 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6985, allocations: 2.531 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.6987, allocations: 11.64 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6987, allocations: 5.125 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.6987, allocations: 6.812 kB / 0.6869 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.6988, allocations: 10.66 kB / 0.6869 GB, free: 13.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.6988, allocations: 114.1 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.6989, allocations: 2.141 kB / 0.687 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.6989, allocations: 5.797 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6989, allocations: 1.312 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6989, allocations: 0 / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6989, allocations: 1.938 kB / 0.687 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.6993, allocations: 313.6 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6993, allocations: 4 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.6993, allocations: 8.047 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6993, allocations: 1.75 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.6994, allocations: 0.7031 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6994, allocations: 6.172 kB / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6994, allocations: 0 / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.6996, allocations: 165.2 kB / 0.6875 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.6996, allocations: 86.94 kB / 0.6876 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.6997, allocations: 6.266 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.6997, allocations: 0.5625 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.6998, allocations: 7.734 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.6998, allocations: 2.031 kB / 0.6876 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.6999, allocations: 88.81 kB / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.6999, allocations: 0 / 0.6877 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004479/0.7003, allocations: 31.61 kB / 0.6877 GB, free: 12.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008342/0.7012, allocations: 0.7881 MB / 0.6885 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.7013, allocations: 34.64 kB / 0.6885 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7014, allocations: 0 / 0.6885 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-05/0.7014, allocations: 21.42 kB / 0.6885 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.7016, allocations: 10.05 kB / 0.6885 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.7024, allocations: 0.9596 MB / 0.6895 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.7026, allocations: 0.6837 MB / 0.6901 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.7026, allocations: 3.344 kB / 0.6901 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.7027, allocations: 19.34 kB / 0.6902 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.7027, allocations: 0 / 0.6902 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.7273, allocations: 1.854 MB / 0.692 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/0.7276, allocations: 222.3 kB / 0.6922 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.116, allocations: 0 / 0.6922 GB, free: 10.01 MB / 0.5261 GB