Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.706/1.706, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001069/0.001069, allocations: 171.5 kB / 393.1 MB, free: 4.086 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.436/1.436, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009464, allocations: 94.69 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 9.344 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6774, allocations: 121.3 MB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.0019/0.6793, allocations: 1.214 MB / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.6807, allocations: 1.001 MB / 1.043 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.6808, allocations: 1.438 kB / 1.043 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.6808, allocations: 4.734 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.6809, allocations: 5.344 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.6814, allocations: 102.6 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.6815, allocations: 76.2 kB / 1.043 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.6817, allocations: 6.875 kB / 1.043 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.6817, allocations: 32.91 kB / 1.043 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.6818, allocations: 42.75 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.6819, allocations: 3.094 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.6821, allocations: 78.62 kB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.6821, allocations: 15.28 kB / 1.043 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.6822, allocations: 53.05 kB / 1.043 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.6824, allocations: 136 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6824, allocations: 4.5 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6824, allocations: 0 / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6825, allocations: 1.219 kB / 1.044 GB, free: 55.98 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.000701/0.6832, allocations: 422.3 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6832, allocations: 10.06 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.6833, allocations: 7.812 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.6834, allocations: 168.8 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.6835, allocations: 8.656 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.6835, allocations: 3.188 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.6837, allocations: 74.73 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6837, allocations: 2.344 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.6837, allocations: 0.9375 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6837, allocations: 0.5156 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.6839, allocations: 47.58 kB / 1.044 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.6845, allocations: 320.9 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.6846, allocations: 50.94 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.6847, allocations: 36.08 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.6847, allocations: 2.797 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.6849, allocations: 86.5 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.685, allocations: 5.594 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003841/0.6853, allocations: 145.1 kB / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6854, allocations: 53.28 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.6855, allocations: 124.6 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.6855, allocations: 31.52 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.6855, allocations: 92.73 kB / 1.045 GB, free: 54.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.6856, allocations: 13.73 kB / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/0.6856, allocations: 0 / 1.045 GB, free: 54.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.6856, allocations: 327.6 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.6857, allocations: 27.36 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.6858, allocations: 66.2 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.686, allocations: 77.31 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.686, allocations: 0 / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.6862, allocations: 116.3 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6862, allocations: 11.81 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6863, allocations: 80 / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6863, allocations: 0 / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.6864, allocations: 21.91 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6864, allocations: 3.984 kB / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.6865, allocations: 12.56 kB / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.6865, allocations: 4.906 kB / 1.046 GB, free: 54.02 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 7.506e-05/0.6866, allocations: 126.4 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.6866, allocations: 6.469 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.6866, allocations: 9.75 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6866, allocations: 1.375 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6866, allocations: 0 / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6866, allocations: 1.531 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.687, allocations: 396.1 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.687, allocations: 0 / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.6871, allocations: 8.156 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6871, allocations: 1.031 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6871, allocations: 0.9844 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6871, allocations: 0 / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6871, allocations: 3.938 kB / 1.046 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.6874, allocations: 221.5 kB / 1.047 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.6874, allocations: 87.39 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.6874, allocations: 2.906 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.6875, allocations: 4 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.6876, allocations: 12.91 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6876, allocations: 6.844 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.6876, allocations: 95.83 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6876, allocations: 0 / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002644/0.6879, allocations: 35.42 kB / 1.047 GB, free: 53.18 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.0003319/0.6882, allocations: 177.4 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.6885, allocations: 72.94 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6885, allocations: 4 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.6886, allocations: 39.95 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.6888, allocations: 8.688 kB / 1.047 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.6892, allocations: 209 kB / 1.047 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.6893, allocations: 0.6885 MB / 1.048 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.6894, allocations: 7.156 kB / 1.048 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.6894, allocations: 11.92 kB / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6894, allocations: 0 / 1.048 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.005136/0.6945, allocations: 1.358 MB / 1.049 GB, free: 52.04 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)