Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.0009895/0.0009894, allocations: 186.6 kB / 330.8 MB, free: 456 kB / 250.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.539/1.539, allocations: 225.7 MB / 0.6016 GB, free: 1.602 MB / 426.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.00078/0.0007799, allocations: 95.62 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 11.59 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1739, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001382/0.1753, allocations: 1.209 MB / 0.9339 GB, free: 5.039 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1764, allocations: 0.9913 MB / 0.9349 GB, free: 3.969 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1764, allocations: 3.938 kB / 0.9349 GB, free: 3.965 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.1764, allocations: 0 / 0.9349 GB, free: 3.965 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.1765, allocations: 7.922 kB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1769, allocations: 103.8 kB / 0.935 GB, free: 3.855 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.177, allocations: 71.77 kB / 0.9351 GB, free: 3.785 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.647e-05/0.1771, allocations: 16 kB / 0.9351 GB, free: 3.77 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.998e-05/0.1772, allocations: 31.84 kB / 0.9351 GB, free: 3.738 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.1772, allocations: 31.89 kB / 0.9352 GB, free: 3.707 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1773, allocations: 4 kB / 0.9352 GB, free: 3.703 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1774, allocations: 83.86 kB / 0.9352 GB, free: 3.621 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.1774, allocations: 15.92 kB / 0.9353 GB, free: 3.605 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1775, allocations: 61.53 kB / 0.9353 GB, free: 3.539 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1777, allocations: 131.9 kB / 0.9354 GB, free: 3.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1777, allocations: 4 kB / 0.9354 GB, free: 3.406 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1777, allocations: 0 / 0.9354 GB, free: 3.406 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1777, allocations: 0 / 0.9354 GB, free: 3.406 MB / 0.573 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.0004929/0.1782, allocations: 405 kB / 0.9358 GB, free: 2.957 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1782, allocations: 19.92 kB / 0.9359 GB, free: 2.938 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1783, allocations: 4.938 kB / 0.9359 GB, free: 2.934 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.1784, allocations: 176.2 kB / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1784, allocations: 4.312 kB / 0.936 GB, free: 2.719 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1784, allocations: 12.31 kB / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1786, allocations: 73.97 kB / 0.9361 GB, free: 2.629 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1786, allocations: 0 / 0.9361 GB, free: 2.629 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1786, allocations: 4 kB / 0.9361 GB, free: 2.625 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1786, allocations: 0 / 0.9361 GB, free: 2.625 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1787, allocations: 39.97 kB / 0.9362 GB, free: 2.586 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1792, allocations: 328.7 kB / 0.9365 GB, free: 2.215 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1793, allocations: 58.48 kB / 0.9365 GB, free: 2.148 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.1794, allocations: 36.97 kB / 0.9366 GB, free: 2.109 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1795, allocations: 0 / 0.9366 GB, free: 2.109 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1796, allocations: 83.38 kB / 0.9366 GB, free: 2.016 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1796, allocations: 0 / 0.9366 GB, free: 2.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003315/0.18, allocations: 153.8 kB / 0.9368 GB, free: 1.859 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.18, allocations: 55.41 kB / 0.9368 GB, free: 1.793 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.1801, allocations: 121.8 kB / 0.937 GB, free: 1.664 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1801, allocations: 29.7 kB / 0.937 GB, free: 1.629 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.1801, allocations: 84.14 kB / 0.9371 GB, free: 1.543 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.1802, allocations: 23.75 kB / 0.9371 GB, free: 1.52 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.1802, allocations: 0 / 0.9371 GB, free: 1.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1802, allocations: 326.8 kB / 0.9374 GB, free: 1.191 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.1803, allocations: 27.98 kB / 0.9374 GB, free: 1.164 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.1804, allocations: 50.55 kB / 0.9375 GB, free: 1.105 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1805, allocations: 82.56 kB / 0.9375 GB, free: 1.016 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1805, allocations: 0 / 0.9375 GB, free: 1.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001983/0.1807, allocations: 121.5 kB / 0.9377 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1807, allocations: 11.91 kB / 0.9377 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1808, allocations: 3.938 kB / 0.9377 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1808, allocations: 0 / 0.9377 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.1809, allocations: 15.98 kB / 0.9377 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1809, allocations: 0 / 0.9377 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.1809, allocations: 7.984 kB / 0.9377 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.181, allocations: 4 kB / 0.9377 GB, free: 0.8477 MB / 0.573 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.235e-05/0.181, allocations: 131 kB / 0.9378 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1811, allocations: 7.906 kB / 0.9378 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.1811, allocations: 4.375 kB / 0.9378 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1811, allocations: 4 kB / 0.9378 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1811, allocations: 0 / 0.9378 GB, free: 0.6953 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1811, allocations: 3.984 kB / 0.9379 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.1814, allocations: 402.2 kB / 0.9382 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1814, allocations: 0 / 0.9382 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.1815, allocations: 4 kB / 0.9382 GB, free: 244 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1815, allocations: 4 kB / 0.9382 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1815, allocations: 0 / 0.9382 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1815, allocations: 0 / 0.9382 GB, free: 240 kB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1815, allocations: 3.938 kB / 0.9382 GB, free: 236 kB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1817, allocations: 219.5 kB / 0.9385 GB, free: 0 / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.1818, allocations: 81.02 kB / 0.9385 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1818, allocations: 4 kB / 0.9385 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1819, allocations: 7.984 kB / 0.9385 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.182, allocations: 3.938 kB / 0.9385 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.182, allocations: 11.98 kB / 0.9386 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.182, allocations: 95.22 kB / 0.9386 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1821, allocations: 0 / 0.9386 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002572/0.1823, allocations: 39.98 kB / 0.9387 GB, free: 15.74 MB / 0.5886 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.000311/0.1826, allocations: 182.8 kB / 0.9389 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1829, allocations: 83.89 kB / 0.9389 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1829, allocations: 0 / 0.9389 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.183, allocations: 31.98 kB / 0.939 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1832, allocations: 6.438 kB / 0.939 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.1836, allocations: 209.9 kB / 0.9392 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1839, allocations: 0.6926 MB / 0.9399 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.1839, allocations: 4 kB / 0.9399 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.184, allocations: 23.36 kB / 0.9399 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/0.184, allocations: 0 / 0.9399 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of Templates: time 0.003557/0.1875, allocations: 1.351 MB / 0.9412 GB, free: 13.12 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)