Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001126, allocations: 190.3 kB / 16.14 MB, free: 6.703 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.393/1.393, allocations: 205.1 MB / 222 MB, free: 4.77 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.473/1.473, allocations: 251.7 MB / 0.5088 GB, free: 3.312 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.001642/0.001642, allocations: 63.89 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5408, allocations: 104.7 MB / 0.7238 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002878/0.5437, allocations: 1.55 MB / 0.7253 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.5452, allocations: 0.7836 MB / 0.7261 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.5453, allocations: 11.88 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.5453, allocations: 0 / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.5454, allocations: 3.938 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.5459, allocations: 103.8 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.546, allocations: 79.77 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.5461, allocations: 11.92 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.188e-05/0.5462, allocations: 31.92 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.5463, allocations: 39.81 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.5463, allocations: 4 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.5465, allocations: 91.84 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.5465, allocations: 15.92 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.5466, allocations: 31.86 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.5468, allocations: 137.8 kB / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5468, allocations: 0 / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5468, allocations: 0 / 0.7266 GB, free: 10.35 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.5468, allocations: 0 / 0.7266 GB, free: 10.35 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.0007429/0.5476, allocations: 420.9 kB / 0.727 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5476, allocations: 12.03 kB / 0.727 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.5477, allocations: 4.844 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5479, allocations: 172.3 kB / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.5479, allocations: 8.375 kB / 0.7272 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.5479, allocations: 12.31 kB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.5482, allocations: 69.97 kB / 0.7273 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5482, allocations: 0 / 0.7273 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5482, allocations: 3.984 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5482, allocations: 3.984 kB / 0.7273 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.5484, allocations: 31.98 kB / 0.7273 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.5491, allocations: 324.6 kB / 0.7276 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5493, allocations: 54.5 kB / 0.7277 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.5493, allocations: 32.97 kB / 0.7277 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.5494, allocations: 0 / 0.7277 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.5496, allocations: 75.38 kB / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5497, allocations: 0 / 0.7278 GB, free: 8.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004713/0.5501, allocations: 145.5 kB / 0.7279 GB, free: 8.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5502, allocations: 59.39 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5503, allocations: 113.8 kB / 0.7281 GB, free: 8.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.5504, allocations: 29.7 kB / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.5505, allocations: 92.14 kB / 0.7282 GB, free: 8.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.5505, allocations: 15.8 kB / 0.7282 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.5506, allocations: 29.7 kB / 0.7283 GB, free: 8.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5507, allocations: 322.8 kB / 0.7286 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.5508, allocations: 27.98 kB / 0.7286 GB, free: 8.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.5509, allocations: 54.92 kB / 0.7286 GB, free: 8.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.5511, allocations: 78.48 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5511, allocations: 0 / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002381/0.5514, allocations: 113.5 kB / 0.7288 GB, free: 7.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5514, allocations: 4 kB / 0.7288 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5514, allocations: 3.938 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5514, allocations: 4.062 kB / 0.7288 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5516, allocations: 12 kB / 0.7289 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5516, allocations: 8.375 kB / 0.7289 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.5517, allocations: 11.84 kB / 0.7289 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5517, allocations: 7.938 kB / 0.7289 GB, free: 7.793 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.000116/0.5518, allocations: 121.7 kB / 0.729 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.5518, allocations: 4 kB / 0.729 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.5519, allocations: 16.36 kB / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5519, allocations: 0 / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5519, allocations: 0 / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5519, allocations: 0 / 0.729 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.5524, allocations: 394.3 kB / 0.7294 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5524, allocations: 0 / 0.7294 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.5525, allocations: 4 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5525, allocations: 0 / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.5525, allocations: 3.984 kB / 0.7294 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5525, allocations: 4 kB / 0.7294 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5525, allocations: 3.938 kB / 0.7294 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.5528, allocations: 199.5 kB / 0.7296 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.5528, allocations: 85.02 kB / 0.7297 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.5529, allocations: 7.984 kB / 0.7297 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.5529, allocations: 0 / 0.7297 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.553, allocations: 15.92 kB / 0.7297 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.553, allocations: 0 / 0.7297 GB, free: 6.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.5531, allocations: 95.27 kB / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.194e-06/0.5531, allocations: 0 / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003063/0.5534, allocations: 43.88 kB / 0.7298 GB, free: 6.715 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.0003668/0.5538, allocations: 168.2 kB / 0.73 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.554, allocations: 67.95 kB / 0.7301 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.554, allocations: 7.875 kB / 0.7301 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.5541, allocations: 35.98 kB / 0.7301 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.5544, allocations: 3.984 kB / 0.7301 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.5549, allocations: 202.2 kB / 0.7303 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.5552, allocations: 0.6887 MB / 0.731 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.5552, allocations: 0 / 0.731 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.5552, allocations: 11.44 kB / 0.731 GB, free: 5.496 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/0.5553, allocations: 0 / 0.731 GB, free: 5.496 MB / 0.545 GB Notification: Performance of Templates: time 0.004021/0.5593, allocations: 1.378 MB / 0.7323 GB, free: 4.129 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)