Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 190 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.7 MB / 0.6617 GB, free: 7.195 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008111/0.0008112, allocations: 90.12 kB / 0.7789 GB, free: 46.74 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 8 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6462, allocations: 119.2 MB / 1.022 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001609/0.6478, allocations: 1.058 MB / 1.023 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.6487, allocations: 0.6599 MB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.6487, allocations: 0 / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.6488, allocations: 0 / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.6488, allocations: 5.375 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.6492, allocations: 80.75 kB / 1.024 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.6493, allocations: 45.02 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.6493, allocations: 2.453 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.6494, allocations: 14.27 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.6494, allocations: 19.73 kB / 1.024 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.6494, allocations: 2.312 kB / 1.024 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.6496, allocations: 76.5 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.6496, allocations: 27.7 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.6497, allocations: 74.83 kB / 1.024 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.6499, allocations: 151.9 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6499, allocations: 1.312 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6499, allocations: 0 / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.6499, allocations: 0 / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0003908/0.6503, allocations: 0.5031 MB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6504, allocations: 11.41 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.6505, allocations: 15 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.18e-05/0.6506, allocations: 178.6 kB / 1.025 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6506, allocations: 1.75 kB / 1.025 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.6506, allocations: 9.062 kB / 1.025 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.6509, allocations: 243.7 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6509, allocations: 192 / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.651, allocations: 9.406 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.651, allocations: 0 / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.6511, allocations: 146.3 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.6513, allocations: 195 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.6517, allocations: 0.5315 MB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.652, allocations: 0.5259 MB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.652, allocations: 0.75 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.6524, allocations: 400.5 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.132e-06/0.6524, allocations: 1.781 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0007709/0.6532, allocations: 0.6843 MB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.6533, allocations: 111.4 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.6534, allocations: 99.69 kB / 1.028 GB, free: 53.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6534, allocations: 33.73 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.6534, allocations: 81.73 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.6535, allocations: 71.22 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.6535, allocations: 5.812 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.6536, allocations: 324.6 kB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.6537, allocations: 85.11 kB / 1.029 GB, free: 53.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.6537, allocations: 79.47 kB / 1.029 GB, free: 53.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.654, allocations: 352.7 kB / 1.029 GB, free: 53.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.654, allocations: 2.719 kB / 1.029 GB, free: 53.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003232/0.6544, allocations: 329.4 kB / 1.029 GB, free: 52.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.6545, allocations: 89.72 kB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6545, allocations: 4.625 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6545, allocations: 1.438 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.6545, allocations: 4.859 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6546, allocations: 0 / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.6547, allocations: 22.11 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.6547, allocations: 6.766 kB / 1.029 GB, free: 52.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.655, allocations: 268.2 kB / 1.03 GB, free: 52.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.655, allocations: 21.72 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.655, allocations: 9.359 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.655, allocations: 1.969 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6551, allocations: 0 / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6551, allocations: 4.094 kB / 1.03 GB, free: 52.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6552, allocations: 248.9 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6552, allocations: 0 / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.6552, allocations: 0 / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6552, allocations: 3.938 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.6553, allocations: 17.92 kB / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6553, allocations: 0 / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6553, allocations: 2.109 kB / 1.03 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.6564, allocations: 1.284 MB / 1.031 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.6564, allocations: 92.12 kB / 1.031 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.6565, allocations: 83.48 kB / 1.031 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.6566, allocations: 8.094 kB / 1.031 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.6567, allocations: 3.484 kB / 1.031 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.6567, allocations: 18.91 kB / 1.031 GB, free: 51.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.245e-05/0.6567, allocations: 76.22 kB / 1.031 GB, free: 51.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6567, allocations: 0 / 1.031 GB, free: 51.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002669/0.657, allocations: 69.84 kB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004615/0.6575, allocations: 271.7 kB / 1.032 GB, free: 51.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.6589, allocations: 1.964 MB / 1.034 GB, free: 50.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6589, allocations: 0 / 1.034 GB, free: 50.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.6601, allocations: 2.015 MB / 1.036 GB, free: 49.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.6603, allocations: 19.98 kB / 1.036 GB, free: 49.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.6608, allocations: 362.5 kB / 1.036 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.661, allocations: 0.7208 MB / 1.037 GB, free: 48.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.661, allocations: 0 / 1.037 GB, free: 48.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.661, allocations: 8.781 kB / 1.037 GB, free: 48.47 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.661, allocations: 0 / 1.037 GB, free: 48.47 MB / 0.698 GB Notification: Performance of Templates: time 0.005329/0.6664, allocations: 2.419 MB / 1.039 GB, free: 48.26 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)