Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") 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.685/1.685, allocations: 297.4 MB / 312.6 MB, free: 2.977 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.001127/0.001127, allocations: 182 kB / 382.3 MB, free: 14.86 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.378/1.378, allocations: 225.7 MB / 0.6617 GB, free: 7.266 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.0008013/0.0008014, allocations: 102.3 kB / 0.7789 GB, free: 46.72 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 12 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5684/0.5688, allocations: 119.2 MB / 1.022 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001758/0.5706, allocations: 1.205 MB / 1.023 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.5717, allocations: 0.9961 MB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.5718, allocations: 1.469 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.5718, allocations: 4.594 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.5719, allocations: 9.672 kB / 1.024 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.5724, allocations: 112.4 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.811e-05/0.5725, allocations: 64.25 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.5726, allocations: 17.12 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.5727, allocations: 32.89 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.5727, allocations: 35.8 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5728, allocations: 7.719 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.5729, allocations: 82.89 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.573, allocations: 16.05 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.573, allocations: 52.88 kB / 1.025 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.5733, allocations: 141 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5733, allocations: 0 / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5733, allocations: 1.75 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5733, allocations: 3.938 kB / 1.025 GB, free: 55.8 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.0005298/0.5739, allocations: 404.9 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5739, allocations: 10.58 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.5739, allocations: 7.844 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/0.574, allocations: 176 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.5741, allocations: 3.047 kB / 1.026 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.5741, allocations: 7.781 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.5743, allocations: 73.11 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5743, allocations: 1.094 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.5743, allocations: 0.5625 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5743, allocations: 1.344 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5745, allocations: 47.7 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.575, allocations: 324.2 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5752, allocations: 54.05 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.5752, allocations: 35.7 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5753, allocations: 1.438 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.5755, allocations: 82.73 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.776e-06/0.5755, allocations: 1.922 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003846/0.5759, allocations: 149.7 kB / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.5759, allocations: 57.06 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.576, allocations: 119.1 kB / 1.026 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.576, allocations: 26.77 kB / 1.026 GB, free: 54.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.5761, allocations: 97.27 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5761, allocations: 9.5 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5761, allocations: 4 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.5761, allocations: 325.6 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.5762, allocations: 30.05 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/0.5763, allocations: 53.41 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.5765, allocations: 80.61 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5765, allocations: 1.312 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002175/0.5767, allocations: 118.1 kB / 1.027 GB, free: 53.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5768, allocations: 10.31 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5768, allocations: 0.9375 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5768, allocations: 9.375 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.5769, allocations: 12.02 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5769, allocations: 7.422 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.577, allocations: 16.95 kB / 1.027 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.577, allocations: 4.875 kB / 1.027 GB, free: 53.87 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.817e-05/0.5771, allocations: 120 kB / 1.027 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.5771, allocations: 5.109 kB / 1.027 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.5771, allocations: 14.78 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5771, allocations: 0 / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5771, allocations: 1.375 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5772, allocations: 1.031 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.5776, allocations: 388 kB / 1.028 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5776, allocations: 0.75 kB / 1.028 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.5777, allocations: 11.48 kB / 1.028 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5777, allocations: 0 / 1.028 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5777, allocations: 6.516 kB / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5777, allocations: 3.469 kB / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5777, allocations: 3.938 kB / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.578, allocations: 218.4 kB / 1.028 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.578, allocations: 80.67 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5781, allocations: 1.75 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.5782, allocations: 9.719 kB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.5782, allocations: 10.25 kB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5782, allocations: 6.297 kB / 1.028 GB, free: 53.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.5783, allocations: 91.42 kB / 1.028 GB, free: 53.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5783, allocations: 0 / 1.028 GB, free: 53.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002897/0.5786, allocations: 42.22 kB / 1.028 GB, free: 53.04 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.0003405/0.5789, allocations: 172.4 kB / 1.028 GB, free: 52.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.5792, allocations: 78.47 kB / 1.028 GB, free: 52.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5792, allocations: 4.062 kB / 1.028 GB, free: 52.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.5793, allocations: 41.33 kB / 1.028 GB, free: 52.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.5795, allocations: 8.281 kB / 1.029 GB, free: 52.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.5799, allocations: 207.5 kB / 1.029 GB, free: 52.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.58, allocations: 0.6877 MB / 1.029 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.5801, allocations: 6.703 kB / 1.029 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.5801, allocations: 10.94 kB / 1.029 GB, free: 52.03 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.5801, allocations: 0 / 1.029 GB, free: 52.03 MB / 0.698 GB Notification: Performance of Templates: time 0.004301/0.5844, allocations: 1.369 MB / 1.031 GB, free: 51.9 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)