Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001089/0.001089, allocations: 184.8 kB / 361.4 MB, free: 6.832 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.751/1.751, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009249/0.0009249, allocations: 94.3 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.845e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.6749, allocations: 115.3 MB / 0.9644 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.87, allocations: 139.3 MB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.8702, allocations: 84.98 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.009614/0.8798, allocations: 2.958 MB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8799, allocations: 2.281 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8799, allocations: 1.5 kB / 1.103 GB, free: 13.61 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.0008132/0.8808, allocations: 417.4 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.8808, allocations: 8.531 kB / 1.104 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.8809, allocations: 10.06 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.8811, allocations: 173.9 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.8812, allocations: 4 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.8812, allocations: 1.344 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.851e-05/0.8813, allocations: 20 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.8814, allocations: 57.67 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8814, allocations: 4.469 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.8815, allocations: 0 / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8815, allocations: 1.406 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007006/0.8822, allocations: 294.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.8823, allocations: 39.94 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.8823, allocations: 24.98 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8824, allocations: 0.6562 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.8825, allocations: 77.36 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.8825, allocations: 0.5938 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003023/0.8828, allocations: 89.67 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.8829, allocations: 52.5 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.883, allocations: 112.9 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.8831, allocations: 32.42 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.8831, allocations: 88.33 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.8832, allocations: 23.81 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.8832, allocations: 0 / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8833, allocations: 321.6 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.8834, allocations: 16 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.8835, allocations: 46.08 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.8836, allocations: 23.98 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8836, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001929/0.8838, allocations: 85.53 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8838, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8838, allocations: 8.062 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.8838, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.884, allocations: 22.86 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.884, allocations: 5.797 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.8841, allocations: 7.984 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8841, allocations: 4 kB / 1.105 GB, free: 11.39 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 0.0001116/0.8842, allocations: 105.8 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.8842, allocations: 11.91 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.8843, allocations: 8.625 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8843, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8843, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8843, allocations: 0 / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.8847, allocations: 339 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8848, allocations: 0 / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.8848, allocations: 4 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.8848, allocations: 4 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8848, allocations: 7.984 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8849, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8849, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.8851, allocations: 195.3 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.8852, allocations: 89.03 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.8852, allocations: 3.984 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.8853, allocations: 4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.8853, allocations: 12.64 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8854, allocations: 0 / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.613e-05/0.8854, allocations: 91.94 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8854, allocations: 0 / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003243/0.8858, allocations: 47.92 kB / 1.106 GB, free: 10.39 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.0004772/0.8862, allocations: 179.1 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.8864, allocations: 51.92 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8864, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.8865, allocations: 27.98 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.8867, allocations: 11.95 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.887, allocations: 98.84 kB / 1.107 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.8874, allocations: 0.6971 MB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.8874, allocations: 8.172 kB / 1.107 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.8874, allocations: 15.44 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.8874, allocations: 0 / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of Templates: time 0.005164/0.8926, allocations: 1.497 MB / 1.109 GB, free: 7.824 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)