Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 97.48 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.006475/0.006475, allocations: 168.7 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.091/3.091, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004014, allocations: 8.281 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3793, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001768/0.3811, allocations: 1.212 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3825, allocations: 0.7285 MB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.3825, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.3826, allocations: 0 / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.3826, allocations: 15.88 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.3831, allocations: 99.81 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.3833, allocations: 67.78 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.3834, allocations: 15.98 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.3835, allocations: 31.89 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.3835, allocations: 31.84 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3836, allocations: 8 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.3838, allocations: 91.84 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3838, allocations: 19.91 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/0.3839, allocations: 53.56 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3841, allocations: 135.9 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3842, allocations: 0 / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3842, allocations: 7.938 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3842, allocations: 0 / 1.077 GB, free: 5.012 MB / 0.8262 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.0006039/0.3848, allocations: 409 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3848, allocations: 8.031 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3849, allocations: 8.844 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.385, allocations: 176.2 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.3851, allocations: 384 / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3851, allocations: 4.375 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3853, allocations: 81.95 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3853, allocations: 0 / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3853, allocations: 15.97 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3854, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3855, allocations: 43.92 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.3861, allocations: 328.6 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3863, allocations: 46.56 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.3864, allocations: 36.97 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3864, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.3866, allocations: 83.38 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3867, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004307/0.3871, allocations: 149.5 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3871, allocations: 59.39 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3873, allocations: 121.8 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3873, allocations: 25.7 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.3874, allocations: 92.12 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3874, allocations: 19.75 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.3874, allocations: 17.72 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3875, allocations: 322.8 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.3876, allocations: 31.98 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.393e-05/0.3877, allocations: 50.55 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3879, allocations: 78.5 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3879, allocations: 0 / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002594/0.3882, allocations: 121.5 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3882, allocations: 9.094 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3882, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3882, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3883, allocations: 20.05 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3884, allocations: 3.938 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.3884, allocations: 11.91 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3885, allocations: 11.92 kB / 1.079 GB, free: 2.426 MB / 0.8262 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 9.376e-05/0.3886, allocations: 121.2 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.3886, allocations: 4 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.3886, allocations: 8.375 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3886, allocations: 11.94 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3886, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3886, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.3891, allocations: 386.7 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3892, allocations: 4 kB / 1.079 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3892, allocations: 7.984 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3892, allocations: 4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3892, allocations: 4 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3892, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3892, allocations: 3.938 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.3895, allocations: 215.5 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3896, allocations: 89.02 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3896, allocations: 0 / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3897, allocations: 15.92 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.3898, allocations: 7.938 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3898, allocations: 0 / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.3899, allocations: 95.27 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3899, allocations: 0 / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000322/0.3902, allocations: 39.98 kB / 1.08 GB, free: 1.332 MB / 0.8262 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.000397/0.3906, allocations: 165.5 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.3909, allocations: 75.89 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3909, allocations: 4.062 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.391, allocations: 35.98 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3913, allocations: 9.547 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.3917, allocations: 205 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.392, allocations: 0.6926 MB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.392, allocations: 4 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.3921, allocations: 15.42 kB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3921, allocations: 0 / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of Templates: time 0.004759/0.3968, allocations: 1.355 MB / 1.082 GB, free: 14.73 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)