Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 293 MB / 309 MB, free: 4.816 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.0009744/0.0009748, allocations: 180.5 kB / 378.7 MB, free: 1.02 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.497/1.497, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0007565/0.0007565, allocations: 88.47 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5644/0.7875, allocations: 141.1 MB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.7879, allocations: 82.81 kB / 1.128 GB, free: 33.14 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.0129/0.8008, allocations: 2.996 MB / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8008, allocations: 0 / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.8008, allocations: 4 kB / 1.131 GB, free: 30.98 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.0006321/0.8015, allocations: 424.1 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8016, allocations: 12.03 kB / 1.132 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.8016, allocations: 9.438 kB / 1.132 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.8018, allocations: 179.7 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.8018, allocations: 384 / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.8018, allocations: 4.375 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.8021, allocations: 73.25 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.8021, allocations: 192 / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.8022, allocations: 8.547 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8022, allocations: 0 / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.8024, allocations: 43.16 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.8032, allocations: 323.5 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.8034, allocations: 49.98 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.8035, allocations: 45.28 kB / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.8036, allocations: 0 / 1.132 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.8038, allocations: 82.48 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/0.8038, allocations: 0 / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005593/0.8044, allocations: 152.5 kB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.8044, allocations: 55.41 kB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.8046, allocations: 122.2 kB / 1.133 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.8046, allocations: 25.7 kB / 1.133 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.8047, allocations: 88.14 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.8047, allocations: 15.28 kB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.8047, allocations: 4.562 kB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.8048, allocations: 326.2 kB / 1.133 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.805, allocations: 27.19 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.8051, allocations: 53.98 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.8054, allocations: 86.23 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8054, allocations: 4 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003702/0.8058, allocations: 116.8 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8058, allocations: 9.625 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8058, allocations: 0 / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.8059, allocations: 4 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.806, allocations: 15.36 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.806, allocations: 1.203 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.8061, allocations: 11.33 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.8062, allocations: 0.5625 kB / 1.133 GB, free: 28.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 9.325e-05/0.8063, allocations: 129.8 kB / 1.134 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.8063, allocations: 3.906 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.8064, allocations: 9.875 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8064, allocations: 4.141 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8064, allocations: 0 / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8064, allocations: 0.8438 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.807, allocations: 393.5 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.807, allocations: 0 / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.8071, allocations: 4.688 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8071, allocations: 3.422 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.8071, allocations: 0 / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.8071, allocations: 1.094 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8071, allocations: 0 / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.8075, allocations: 225.4 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.8076, allocations: 90.39 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.8076, allocations: 0 / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.8078, allocations: 7.562 kB / 1.134 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.8078, allocations: 11.55 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.8078, allocations: 0.75 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.8079, allocations: 95.45 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8079, allocations: 11.94 kB / 1.134 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005527/0.8085, allocations: 44 kB / 1.134 GB, free: 27.53 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.0004671/0.809, allocations: 173.6 kB / 1.135 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.8093, allocations: 82.34 kB / 1.135 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8093, allocations: 0 / 1.135 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.8095, allocations: 35.66 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.8099, allocations: 11.52 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.8104, allocations: 203.2 kB / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.8106, allocations: 0.6888 MB / 1.136 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.984e-05/0.8107, allocations: 5.25 kB / 1.136 GB, free: 26.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.8107, allocations: 11.44 kB / 1.136 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.8107, allocations: 0 / 1.136 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.005725/0.8164, allocations: 1.502 MB / 1.137 GB, free: 25.52 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)