Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") 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.684/1.684, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.0009742/0.0009744, allocations: 190 kB / 382.3 MB, free: 14.84 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.42/1.42, allocations: 225.7 MB / 0.6617 GB, free: 7.246 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.0007854/0.0007853, allocations: 87.52 kB / 0.7789 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 12 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5563, allocations: 119.2 MB / 1.022 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001641/0.5579, allocations: 1.21 MB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.5591, allocations: 0.9998 MB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.5591, allocations: 2.969 kB / 1.024 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.5591, allocations: 3.938 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.5592, allocations: 11.16 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.5596, allocations: 105.1 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.5597, allocations: 68.58 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.5598, allocations: 11.72 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.5599, allocations: 34.53 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.56, allocations: 36.67 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.56, allocations: 4.344 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.5602, allocations: 82.81 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.5602, allocations: 13.72 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.5603, allocations: 56.83 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.5605, allocations: 139.3 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5605, allocations: 0 / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5605, allocations: 1.438 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5605, allocations: 0.75 kB / 1.025 GB, free: 56.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004788/0.561, allocations: 405.4 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5611, allocations: 10.78 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.5611, allocations: 8.156 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.5612, allocations: 177.2 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5612, allocations: 6.656 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5612, allocations: 4.938 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.5615, allocations: 77.8 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.5615, allocations: 0 / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5615, allocations: 3.938 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5615, allocations: 2.328 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.5616, allocations: 43.78 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.5622, allocations: 323.3 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5623, allocations: 49.88 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.5624, allocations: 36.03 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.5624, allocations: 6.078 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.5626, allocations: 80.61 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5626, allocations: 0 / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.563, allocations: 153.1 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.5631, allocations: 54.08 kB / 1.026 GB, free: 55.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.5631, allocations: 120.9 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.5632, allocations: 33.11 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.5632, allocations: 95.28 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.5632, allocations: 16.58 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.5632, allocations: 0 / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.5633, allocations: 324.1 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.5634, allocations: 30.28 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.5635, allocations: 49.52 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5636, allocations: 82.7 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5636, allocations: 0 / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002118/0.5639, allocations: 123.6 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5639, allocations: 7.688 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5639, allocations: 5.375 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5639, allocations: 1.031 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.564, allocations: 17.34 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.564, allocations: 0 / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.5641, allocations: 19.28 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5641, allocations: 2.875 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.204e-05/0.5642, allocations: 121.7 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.5642, allocations: 2.844 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.5642, allocations: 12.31 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5642, allocations: 5.016 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5642, allocations: 0 / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5643, allocations: 0 / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.5646, allocations: 391.8 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5647, allocations: 1.969 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.5647, allocations: 6.438 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5647, allocations: 1.156 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5647, allocations: 2.531 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.5647, allocations: 1.969 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5647, allocations: 11.88 kB / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.565, allocations: 214 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.565, allocations: 84.42 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.5651, allocations: 0.75 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.5651, allocations: 9.281 kB / 1.028 GB, free: 53.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.5652, allocations: 10.36 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.5652, allocations: 2.797 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.5652, allocations: 93.16 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5653, allocations: 0 / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002778/0.5655, allocations: 37.52 kB / 1.028 GB, free: 53.6 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002935/0.5658, allocations: 187.6 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5661, allocations: 74.25 kB / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5661, allocations: 0 / 1.028 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.5662, allocations: 41.33 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.5664, allocations: 7.719 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.5667, allocations: 209.4 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.5669, allocations: 0.688 MB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.5669, allocations: 11.52 kB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.5669, allocations: 11.09 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5669, allocations: 0 / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of Templates: time 0.003462/0.5704, allocations: 1.361 MB / 1.031 GB, free: 52.46 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)