Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.001048/0.001048, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.365/1.365, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008349/0.0008349, allocations: 96.38 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.772e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5957, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.7653, allocations: 140.2 MB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.7656, allocations: 87.78 kB / 1.11 GB, free: 9.887 MB / 0.7136 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.008692/0.7743, allocations: 2.945 MB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7743, allocations: 0 / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.7743, allocations: 4 kB / 1.113 GB, free: 6.953 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.0004787/0.7748, allocations: 414.1 kB / 1.114 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7749, allocations: 12.75 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.7749, allocations: 8.406 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.7751, allocations: 172 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.7751, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.7751, allocations: 7.984 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.656e-05/0.7752, allocations: 24.47 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.7753, allocations: 61.17 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7753, allocations: 0 / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7754, allocations: 4 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7754, allocations: 0 / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.7759, allocations: 288.2 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.118e-05/0.776, allocations: 34.58 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.776, allocations: 28.97 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.7761, allocations: 9.281 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.7762, allocations: 79.23 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7762, allocations: 1.156 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002399/0.7765, allocations: 88.17 kB / 1.114 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.7765, allocations: 56.19 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.7766, allocations: 118.6 kB / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.7766, allocations: 26.58 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.7767, allocations: 88.33 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.7767, allocations: 19.06 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.7767, allocations: 0 / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7768, allocations: 326.8 kB / 1.115 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.7769, allocations: 12 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.7769, allocations: 46.5 kB / 1.115 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.258e-05/0.777, allocations: 19.44 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.777, allocations: 0 / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001593/0.7772, allocations: 100.5 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7772, allocations: 4 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7772, allocations: 0 / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7772, allocations: 0 / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.7773, allocations: 19.98 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7774, allocations: 2.938 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.7774, allocations: 7.938 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.7775, allocations: 7.984 kB / 1.115 GB, free: 4.727 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 7.508e-05/0.7775, allocations: 108.9 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.7776, allocations: 11.84 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.7776, allocations: 12.69 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7776, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.7776, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7776, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.7779, allocations: 339.1 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.778, allocations: 0 / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.778, allocations: 4 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.778, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.778, allocations: 3.984 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.778, allocations: 4 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.778, allocations: 4 kB / 1.116 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.7782, allocations: 197 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.7783, allocations: 77.11 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.7783, allocations: 2.562 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.7784, allocations: 7.984 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.7784, allocations: 4 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.7785, allocations: 15.98 kB / 1.116 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.7785, allocations: 87.28 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7785, allocations: 0 / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002781/0.7788, allocations: 51.86 kB / 1.116 GB, free: 3.738 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.0003402/0.7791, allocations: 171.2 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.7793, allocations: 51.92 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7793, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.7794, allocations: 35.69 kB / 1.116 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.7795, allocations: 13.84 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.7798, allocations: 100.4 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.78, allocations: 0.6933 MB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.7801, allocations: 9.422 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.7801, allocations: 11.44 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.7801, allocations: 0 / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.003534/0.7836, allocations: 1.489 MB / 1.119 GB, free: 1.176 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)