Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 181 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6367 GB, free: 8.59 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 90.2 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7649/1.055, allocations: 141 MB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.055, allocations: 87 kB / 1.126 GB, free: 34.03 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008435/1.064, allocations: 2.984 MB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.793e-06/1.064, allocations: 0 / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.064, allocations: 0 / 1.129 GB, free: 31.88 MB / 0.7292 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.0004689/1.064, allocations: 427.4 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.064, allocations: 12.03 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/1.064, allocations: 6.562 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.575e-05/1.064, allocations: 175.8 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.064, allocations: 4 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/1.064, allocations: 7.438 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/1.064, allocations: 68.28 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.065, allocations: 0.6875 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/1.065, allocations: 15.52 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.065, allocations: 0.6562 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.065, allocations: 43.53 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/1.065, allocations: 315.6 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/1.065, allocations: 50.05 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.065, allocations: 3.281 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/1.066, allocations: 86.53 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.066, allocations: 1.312 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003727/1.066, allocations: 148 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.066, allocations: 56.06 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/1.066, allocations: 113.3 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/1.066, allocations: 29.7 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/1.066, allocations: 92.23 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/1.066, allocations: 15.81 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/1.066, allocations: 0 / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.192e-05/1.066, allocations: 322.2 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/1.066, allocations: 31.64 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/1.066, allocations: 54.08 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.03e-05/1.067, allocations: 31.38 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.067, allocations: 0 / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/1.067, allocations: 132.3 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.067, allocations: 6.656 kB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.067, allocations: 0 / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.067, allocations: 0 / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/1.067, allocations: 16.08 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.067, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/1.067, allocations: 12.91 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.067, allocations: 4 kB / 1.131 GB, free: 29.57 MB / 0.7292 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 (occ.y,$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 7.064e-05/1.067, allocations: 130.2 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/1.067, allocations: 4 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/1.067, allocations: 12.38 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.067, allocations: 0 / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.067, allocations: 0.5625 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.067, allocations: 0 / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/1.068, allocations: 383.4 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.068, allocations: 7.938 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/1.068, allocations: 8.172 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.068, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/1.068, allocations: 0.5625 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.068, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.068, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/1.068, allocations: 222.6 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/1.068, allocations: 94.25 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.068, allocations: 0 / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/1.068, allocations: 4.938 kB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/1.068, allocations: 12.02 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/1.068, allocations: 0 / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.237e-05/1.068, allocations: 95.95 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.068, allocations: 0 / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002905/1.068, allocations: 55.36 kB / 1.132 GB, free: 28.54 MB / 0.7292 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,occ.y,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.0003695/1.069, allocations: 170.3 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002154/1.069, allocations: 74.5 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.069, allocations: 0 / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/1.069, allocations: 42.97 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/1.069, allocations: 10.19 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/1.07, allocations: 205 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/1.07, allocations: 0.6912 MB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.841e-05/1.07, allocations: 5.438 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/1.07, allocations: 11.44 kB / 1.133 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.07, allocations: 4 kB / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.003788/1.074, allocations: 1.522 MB / 1.135 GB, free: 26.52 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)