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.001331/0.001331, 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.00169/0.00169, allocations: 192.9 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.762 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.477/1.477, allocations: 251.7 MB / 0.5088 GB, free: 3.254 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.001406/0.001406, allocations: 59.92 kB / 0.6216 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6105, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002666/0.6132, allocations: 1.554 MB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.6145, allocations: 0.7991 MB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.6145, allocations: 0 / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.6146, allocations: 0 / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.6147, allocations: 7.875 kB / 0.7261 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.6151, allocations: 99.77 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.6152, allocations: 71.83 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.6153, allocations: 8 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.6154, allocations: 35.91 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.6155, allocations: 39.83 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.6155, allocations: 4 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.6157, allocations: 87.84 kB / 0.7264 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.6158, allocations: 19.91 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.6158, allocations: 27.86 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.616, allocations: 137.6 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.616, allocations: 4 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6161, allocations: 4 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.6161, allocations: 0 / 0.7266 GB, free: 10.23 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.0006908/0.6168, allocations: 416.9 kB / 0.727 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6168, allocations: 12.03 kB / 0.727 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.6169, allocations: 8.844 kB / 0.727 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.617, allocations: 172.3 kB / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.617, allocations: 8.359 kB / 0.7272 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.617, allocations: 4.375 kB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.6172, allocations: 73.97 kB / 0.7273 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6172, allocations: 0 / 0.7273 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6173, allocations: 7.984 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6173, allocations: 0 / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6174, allocations: 35.92 kB / 0.7273 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.618, allocations: 324.6 kB / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6182, allocations: 46.56 kB / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.6183, allocations: 32.97 kB / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.6183, allocations: 0 / 0.7277 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.6185, allocations: 79.38 kB / 0.7278 GB, free: 8.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 4.799e-06/0.6185, allocations: 3.984 kB / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004232/0.6189, allocations: 145.5 kB / 0.7279 GB, free: 8.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.619, allocations: 59.39 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.6191, allocations: 118.2 kB / 0.7281 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.6192, allocations: 29.7 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.6193, allocations: 96.06 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.6193, allocations: 15.81 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.6193, allocations: 25.7 kB / 0.7283 GB, free: 8.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6195, allocations: 322.8 kB / 0.7286 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.6196, allocations: 23.98 kB / 0.7286 GB, free: 7.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.6197, allocations: 54.59 kB / 0.7287 GB, free: 7.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.6199, allocations: 78.48 kB / 0.7287 GB, free: 7.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.62, allocations: 0 / 0.7287 GB, free: 7.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002404/0.6202, allocations: 117.5 kB / 0.7288 GB, free: 7.723 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6202, allocations: 4 kB / 0.7288 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6202, allocations: 0 / 0.7288 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6203, allocations: 4 kB / 0.7288 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.6204, allocations: 12 kB / 0.7289 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6204, allocations: 7.984 kB / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.6205, allocations: 15.78 kB / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.6205, allocations: 4 kB / 0.7289 GB, free: 7.676 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.00012/0.6206, allocations: 121.8 kB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.6206, allocations: 4 kB / 0.729 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.6207, allocations: 8.359 kB / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6207, allocations: 0 / 0.729 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6207, allocations: 8 kB / 0.729 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6207, allocations: 0 / 0.729 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.6212, allocations: 386.3 kB / 0.7294 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6212, allocations: 0 / 0.7294 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.6213, allocations: 4 kB / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6213, allocations: 0 / 0.7294 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.6213, allocations: 3.984 kB / 0.7294 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6213, allocations: 4 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6213, allocations: 3.938 kB / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.6216, allocations: 211.5 kB / 0.7296 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.6217, allocations: 81.02 kB / 0.7297 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.6217, allocations: 7.984 kB / 0.7297 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6218, allocations: 0 / 0.7297 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.6219, allocations: 11.92 kB / 0.7297 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6219, allocations: 4 kB / 0.7297 GB, free: 6.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.622, allocations: 99.27 kB / 0.7298 GB, free: 6.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.622, allocations: 0 / 0.7298 GB, free: 6.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002881/0.6223, allocations: 35.94 kB / 0.7298 GB, free: 6.602 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.0004398/0.6227, allocations: 162.2 kB / 0.73 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.623, allocations: 83.83 kB / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.623, allocations: 0 / 0.7301 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.6231, allocations: 31.98 kB / 0.7301 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.6233, allocations: 11.92 kB / 0.7301 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.6237, allocations: 202.2 kB / 0.7303 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.624, allocations: 0.6887 MB / 0.731 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.6241, allocations: 4 kB / 0.731 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.6241, allocations: 7.438 kB / 0.731 GB, free: 5.375 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6241, allocations: 4 kB / 0.731 GB, free: 5.371 MB / 0.545 GB Notification: Performance of Templates: time 0.003859/0.628, allocations: 1.364 MB / 0.7323 GB, free: 4.016 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (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)