Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009843, allocations: 96.78 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008393/0.008393, allocations: 171 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.582/1.582, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000774/0.0007741, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4595, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001716/0.4613, allocations: 1.227 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4626, allocations: 0.7564 MB / 0.7307 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.4627, allocations: 4 kB / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.4627, allocations: 3.938 kB / 0.7307 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.4628, allocations: 11.91 kB / 0.7307 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.4634, allocations: 111.8 kB / 0.7308 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.4636, allocations: 67.78 kB / 0.7308 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.4637, allocations: 11.98 kB / 0.7309 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.4638, allocations: 27.92 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.4639, allocations: 39.83 kB / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.4639, allocations: 0 / 0.7309 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.4641, allocations: 95.84 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.4642, allocations: 11.98 kB / 0.731 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.4642, allocations: 57.48 kB / 0.7311 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.4645, allocations: 141.6 kB / 0.7312 GB, free: 8.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4645, allocations: 3.938 kB / 0.7312 GB, free: 8.699 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4645, allocations: 0 / 0.7312 GB, free: 8.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.4645, allocations: 0 / 0.7312 GB, free: 8.699 MB / 0.545 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.0006029/0.4651, allocations: 405 kB / 0.7316 GB, free: 8.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4651, allocations: 12.03 kB / 0.7316 GB, free: 8.238 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4652, allocations: 12.78 kB / 0.7316 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4653, allocations: 172.2 kB / 0.7318 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.4653, allocations: 12.36 kB / 0.7318 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4654, allocations: 4.375 kB / 0.7318 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4656, allocations: 69.97 kB / 0.7319 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.4656, allocations: 0 / 0.7319 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4656, allocations: 0 / 0.7319 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4656, allocations: 4 kB / 0.7319 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.4657, allocations: 47.97 kB / 0.7319 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.4664, allocations: 316.7 kB / 0.7322 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4665, allocations: 58.56 kB / 0.7323 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.4666, allocations: 32.97 kB / 0.7323 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4666, allocations: 3.984 kB / 0.7323 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.4668, allocations: 91.22 kB / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4668, allocations: 0 / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003845/0.4672, allocations: 141.6 kB / 0.7325 GB, free: 7.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4673, allocations: 55.41 kB / 0.7326 GB, free: 7.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.4674, allocations: 133.6 kB / 0.7327 GB, free: 6.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4674, allocations: 29.7 kB / 0.7327 GB, free: 6.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.4675, allocations: 92.12 kB / 0.7328 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.4675, allocations: 15.88 kB / 0.7329 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.4675, allocations: 17.7 kB / 0.7329 GB, free: 6.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4676, allocations: 322.8 kB / 0.7332 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.4677, allocations: 27.98 kB / 0.7332 GB, free: 6.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.4678, allocations: 54.55 kB / 0.7333 GB, free: 6.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.468, allocations: 78.48 kB / 0.7333 GB, free: 6.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.468, allocations: 8 kB / 0.7333 GB, free: 6.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.4683, allocations: 113.5 kB / 0.7334 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4683, allocations: 7.984 kB / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4683, allocations: 0 / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4683, allocations: 4 kB / 0.7335 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.4684, allocations: 11.94 kB / 0.7335 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4684, allocations: 4.453 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.4685, allocations: 15.92 kB / 0.7335 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4685, allocations: 4 kB / 0.7335 GB, free: 6.121 MB / 0.545 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 0.0001002/0.4686, allocations: 121.8 kB / 0.7336 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.4687, allocations: 7.906 kB / 0.7336 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.4687, allocations: 12.3 kB / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4687, allocations: 0 / 0.7336 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4687, allocations: 4 kB / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4687, allocations: 0 / 0.7336 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.4692, allocations: 398.4 kB / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4692, allocations: 0 / 0.734 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.4692, allocations: 4 kB / 0.734 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4692, allocations: 3.938 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4692, allocations: 11.98 kB / 0.734 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4692, allocations: 0 / 0.734 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4693, allocations: 3.938 kB / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.4695, allocations: 215.4 kB / 0.7342 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.4696, allocations: 81.02 kB / 0.7343 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4696, allocations: 4 kB / 0.7343 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.4697, allocations: 11.98 kB / 0.7343 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.4698, allocations: 3.938 kB / 0.7343 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4698, allocations: 11.98 kB / 0.7343 GB, free: 5.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.4699, allocations: 91.27 kB / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4699, allocations: 0 / 0.7344 GB, free: 5.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003209/0.4702, allocations: 39.94 kB / 0.7345 GB, free: 5.016 MB / 0.545 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.0004374/0.4706, allocations: 162 kB / 0.7346 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.4709, allocations: 83.88 kB / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4709, allocations: 0 / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.471, allocations: 40.11 kB / 0.7347 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4713, allocations: 10.06 kB / 0.7348 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.4718, allocations: 213 kB / 0.735 GB, free: 4.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4721, allocations: 0.6888 MB / 0.7356 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.4722, allocations: 7.984 kB / 0.7356 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.4722, allocations: 11.44 kB / 0.7356 GB, free: 3.766 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4722, allocations: 0 / 0.7356 GB, free: 3.766 MB / 0.545 GB Notification: Performance of Templates: time 0.004016/0.4763, allocations: 1.347 MB / 0.737 GB, free: 2.43 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: