Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0179/0.0179, allocations: 220.2 kB / 15.17 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001786/0.001786, allocations: 179 kB / 16.06 MB, free: 5.867 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.801/3.801, allocations: 389 MB / 405.9 MB, free: 67.65 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.309/4.309, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004891, allocations: 19.98 kB / 1.008 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5754, allocations: 98.72 MB / 1.104 GB, free: 184 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001341/0.5768, allocations: 1.193 MB / 1.105 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.5779, allocations: 0.7041 MB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.578, allocations: 0 / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.578, allocations: 0 / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.12e-05/0.5781, allocations: 11.86 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.5785, allocations: 91.7 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.5786, allocations: 64.39 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.5787, allocations: 7 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.5788, allocations: 43.78 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.5789, allocations: 27.89 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.5789, allocations: 4 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.5791, allocations: 83.84 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.5792, allocations: 16.3 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.5792, allocations: 37.64 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.5794, allocations: 97.08 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5794, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.941e-06/0.5794, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5794, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 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.0004985/0.5799, allocations: 408 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.58, allocations: 16.02 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.58, allocations: 7.859 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.5801, allocations: 174.9 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.5801, allocations: 4.75 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.5802, allocations: 4 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5804, allocations: 78.36 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5804, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5804, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-06/0.5804, allocations: 4 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.5806, allocations: 47.91 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.5812, allocations: 317.1 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.5813, allocations: 58.19 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5815, allocations: 32.97 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.5815, allocations: 0 / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.5817, allocations: 79 kB / 1.108 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.5817, allocations: 0 / 1.108 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004748/0.5822, allocations: 153.6 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5823, allocations: 59.34 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.5824, allocations: 122.9 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.5824, allocations: 34.73 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.5824, allocations: 88.23 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.5825, allocations: 15.89 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.5825, allocations: 3.938 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.5825, allocations: 314.8 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.5827, allocations: 39.31 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5828, allocations: 50.56 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5829, allocations: 36.58 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-06/0.5829, allocations: 0 / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002932/0.5832, allocations: 117.5 kB / 1.109 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5833, allocations: 4 kB / 1.109 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.932e-06/0.5833, allocations: 4.938 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5833, allocations: 5.703 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5834, allocations: 17.42 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.287e-06/0.5834, allocations: 5.516 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.5835, allocations: 14.59 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.5836, allocations: 4 kB / 1.109 GB, free: 179.1 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.5837, allocations: 117.8 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.5837, allocations: 11.89 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.5837, allocations: 4.375 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5837, allocations: 5.641 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-06/0.5838, allocations: 1.312 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-06/0.5838, allocations: 4 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.5843, allocations: 389 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-06/0.5843, allocations: 0.75 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.5844, allocations: 4 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.547e-06/0.5844, allocations: 3.953 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.5844, allocations: 11.02 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.548e-06/0.5844, allocations: 0 / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.191e-06/0.5844, allocations: 1.438 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.5848, allocations: 221.9 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.5848, allocations: 82.69 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.5849, allocations: 3.953 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.585, allocations: 7.938 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.5851, allocations: 7.984 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.5851, allocations: 5.688 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.5851, allocations: 97.89 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.6e-07/0.5852, allocations: 3 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004058/0.5856, allocations: 43.84 kB / 1.11 GB, free: 178 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003698/0.586, allocations: 164.2 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.5863, allocations: 75.89 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.248e-06/0.5863, allocations: 0 / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5864, allocations: 35.98 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.5867, allocations: 14.95 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.5872, allocations: 198.4 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.5873, allocations: 0.6897 MB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.5874, allocations: 4.969 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.5874, allocations: 15.42 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.5874, allocations: 6.906 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.004541/0.592, allocations: 1.338 MB / 1.112 GB, free: 175.6 MB / 0.6823 GB