Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009853/0.0009854, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001065/0.001066, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.631/1.631, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0006168/0.0006169, allocations: 19.98 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6082, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001698/0.6099, allocations: 1.203 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.6111, allocations: 0.7294 MB / 0.73 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.6112, allocations: 0 / 0.73 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.6112, allocations: 0 / 0.73 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.6113, allocations: 15.84 kB / 0.73 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.6118, allocations: 99.77 kB / 0.7301 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.384e-05/0.6119, allocations: 67.78 kB / 0.7302 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.612, allocations: 7.984 kB / 0.7302 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.643e-05/0.6121, allocations: 35.91 kB / 0.7302 GB, free: 9.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.6121, allocations: 23.91 kB / 0.7303 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.6122, allocations: 4 kB / 0.7303 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.6123, allocations: 95.78 kB / 0.7303 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.6124, allocations: 11.98 kB / 0.7304 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.6124, allocations: 37.64 kB / 0.7304 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.6126, allocations: 97.78 kB / 0.7305 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6126, allocations: 0 / 0.7305 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6126, allocations: 0 / 0.7305 GB, free: 9.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.6126, allocations: 0 / 0.7305 GB, free: 9.004 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.0006036/0.6132, allocations: 408.8 kB / 0.7309 GB, free: 8.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.6133, allocations: 16.03 kB / 0.7309 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.6133, allocations: 11.86 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6135, allocations: 170.9 kB / 0.7311 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.6135, allocations: 8 kB / 0.7311 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6135, allocations: 4 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6137, allocations: 77.58 kB / 0.7312 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6137, allocations: 0 / 0.7312 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6138, allocations: 4 kB / 0.7312 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6138, allocations: 0 / 0.7312 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.6139, allocations: 43.97 kB / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.6145, allocations: 320.8 kB / 0.7315 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.6146, allocations: 54.44 kB / 0.7316 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/0.6147, allocations: 40.95 kB / 0.7316 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.6148, allocations: 0 / 0.7316 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.615, allocations: 79.38 kB / 0.7317 GB, free: 7.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.615, allocations: 0 / 0.7317 GB, free: 7.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.6154, allocations: 157.5 kB / 0.7318 GB, free: 7.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.6155, allocations: 55.41 kB / 0.7319 GB, free: 7.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.6156, allocations: 121.8 kB / 0.732 GB, free: 7.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6156, allocations: 37.64 kB / 0.732 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.6157, allocations: 84.33 kB / 0.7321 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.6157, allocations: 15.81 kB / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-06/0.6157, allocations: 0 / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6158, allocations: 322.8 kB / 0.7324 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.6159, allocations: 27.98 kB / 0.7325 GB, free: 6.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.616, allocations: 54.55 kB / 0.7325 GB, free: 6.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.738e-05/0.6161, allocations: 28 kB / 0.7325 GB, free: 6.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6161, allocations: 0 / 0.7325 GB, free: 6.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002313/0.6163, allocations: 125.5 kB / 0.7327 GB, free: 6.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6164, allocations: 4 kB / 0.7327 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6164, allocations: 4 kB / 0.7327 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6164, allocations: 0 / 0.7327 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6165, allocations: 23.86 kB / 0.7327 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6165, allocations: 4 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.6166, allocations: 15.83 kB / 0.7327 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6166, allocations: 8.062 kB / 0.7327 GB, free: 6.488 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,$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 9.721e-05/0.6167, allocations: 119.3 kB / 0.7328 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.6167, allocations: 4 kB / 0.7328 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.6168, allocations: 8.312 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.6168, allocations: 0 / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6168, allocations: 3.953 kB / 0.7328 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6168, allocations: 7.984 kB / 0.7328 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.6172, allocations: 386.4 kB / 0.7332 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6173, allocations: 0 / 0.7332 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.6173, allocations: 4 kB / 0.7332 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6173, allocations: 0 / 0.7332 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6173, allocations: 7.953 kB / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6173, allocations: 0 / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6173, allocations: 0 / 0.7332 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.6176, allocations: 227.8 kB / 0.7334 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.6177, allocations: 77.11 kB / 0.7335 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.6177, allocations: 0 / 0.7335 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.6178, allocations: 15.94 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.6178, allocations: 4 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6179, allocations: 7.984 kB / 0.7335 GB, free: 5.535 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.139e-05/0.6179, allocations: 91.94 kB / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6179, allocations: 0 / 0.7336 GB, free: 5.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003121/0.6183, allocations: 39.92 kB / 0.7337 GB, free: 5.406 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 (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.0003874/0.6186, allocations: 169.5 kB / 0.7338 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.6189, allocations: 79.89 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6189, allocations: 0 / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.619, allocations: 35.98 kB / 0.7339 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.6193, allocations: 0 / 0.7339 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.6197, allocations: 217.1 kB / 0.7341 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.62, allocations: 0.6887 MB / 0.7348 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.6201, allocations: 16.16 kB / 0.7348 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.6201, allocations: 11.44 kB / 0.7348 GB, free: 4.152 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.6201, allocations: 0 / 0.7348 GB, free: 4.152 MB / 0.545 GB Notification: Performance of Templates: time 0.004316/0.6244, allocations: 1.337 MB / 0.7362 GB, free: 2.824 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: