Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.711/2.711, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 177 kB / 360.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.3 MB / 0.6192 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001034, allocations: 94.7 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.723e-05, allocations: 4 kB / 0.8509 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8258, allocations: 115.3 MB / 0.9634 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/1.063, allocations: 139.1 MB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.064, allocations: 82.34 kB / 1.099 GB, free: 1.336 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01411/1.078, allocations: 2.96 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/1.078, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.078, allocations: 0.5312 kB / 1.102 GB, free: 14.41 MB / 0.7136 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.0006227/1.078, allocations: 414.7 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.078, allocations: 8.031 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/1.078, allocations: 8.438 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.079, allocations: 179.4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/1.079, allocations: 0 / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/1.079, allocations: 4 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/1.079, allocations: 20 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/1.079, allocations: 58.3 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.079, allocations: 0.5625 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/1.079, allocations: 0.8125 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.079, allocations: 4.562 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/1.08, allocations: 287.7 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.08, allocations: 43.45 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/1.08, allocations: 27.47 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/1.08, allocations: 4.562 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/1.08, allocations: 68.83 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.238e-06/1.08, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003349/1.081, allocations: 97.67 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.081, allocations: 53.16 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.081, allocations: 112.9 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.081, allocations: 25.7 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/1.081, allocations: 94.61 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/1.081, allocations: 19.75 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/1.081, allocations: 0 / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.081, allocations: 322.8 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/1.081, allocations: 20 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/1.081, allocations: 42.5 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/1.081, allocations: 16 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.081, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002441/1.082, allocations: 93.52 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.082, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.082, allocations: 2.109 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.082, allocations: 11.12 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.082, allocations: 17.42 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.082, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/1.082, allocations: 8 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/1.082, allocations: 3.984 kB / 1.104 GB, free: 12.2 MB / 0.7136 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 () * 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.733e-05/1.082, allocations: 113.5 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/1.082, allocations: 7.906 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/1.082, allocations: 12.62 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.082, allocations: 7.984 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.082, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.082, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/1.083, allocations: 339 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.083, allocations: 0 / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/1.083, allocations: 4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.083, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.083, allocations: 7.984 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.083, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.083, allocations: 6.531 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/1.083, allocations: 199.3 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/1.083, allocations: 77.11 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/1.083, allocations: 7.938 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.084, allocations: 7.984 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/1.084, allocations: 4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.084, allocations: 7.984 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.239e-05/1.084, allocations: 93.8 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.084, allocations: 0 / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004692/1.084, allocations: 47.89 kB / 1.105 GB, free: 11.19 MB / 0.7136 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 () * 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.0004908/1.085, allocations: 173.2 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001955/1.085, allocations: 51.94 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.085, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/1.085, allocations: 31.98 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.085, allocations: 7.953 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/1.086, allocations: 94.94 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.086, allocations: 0.6924 MB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.052e-05/1.086, allocations: 5.562 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/1.086, allocations: 19.36 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/1.086, allocations: 0 / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.005883/1.092, allocations: 1.496 MB / 1.108 GB, free: 8.637 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)