Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.753/1.753, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 188.2 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.0007959, allocations: 97.52 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 12.53 kB / 0.9088 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6708, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.8581, allocations: 143.2 MB / 1.166 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.8584, allocations: 83.41 kB / 1.166 GB, free: 0.6562 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01097/0.8694, allocations: 3.055 MB / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.456e-06/0.8695, allocations: 0 / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.8695, allocations: 0 / 1.169 GB, free: 14.48 MB / 0.7448 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.0006654/0.8702, allocations: 417.8 kB / 1.17 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8702, allocations: 10.17 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.8703, allocations: 8.844 kB / 1.17 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8704, allocations: 176.3 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.8705, allocations: 8.375 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.8705, allocations: 5.031 kB / 1.17 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.8707, allocations: 68.12 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.8707, allocations: 2.812 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.8708, allocations: 7.938 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8708, allocations: 1.188 kB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.8709, allocations: 48.89 kB / 1.17 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.8717, allocations: 312.2 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.8718, allocations: 61.66 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.872, allocations: 33.84 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.872, allocations: 1.141 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.8722, allocations: 81.22 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.8722, allocations: 0.7188 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.8726, allocations: 146.1 kB / 1.171 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.8727, allocations: 61.45 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.8728, allocations: 124.7 kB / 1.171 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.8729, allocations: 33.7 kB / 1.171 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.873, allocations: 88.5 kB / 1.171 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.873, allocations: 17.12 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.873, allocations: 0 / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8731, allocations: 321.1 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.8732, allocations: 29.25 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.8733, allocations: 56.48 kB / 1.171 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.8735, allocations: 80.83 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8735, allocations: 0 / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002716/0.8738, allocations: 116.5 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8739, allocations: 4 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8739, allocations: 5.734 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8739, allocations: 0.5312 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.874, allocations: 17.73 kB / 1.171 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.874, allocations: 4.656 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.8741, allocations: 9.312 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.8741, allocations: 4.656 kB / 1.171 GB, free: 12.11 MB / 0.7448 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 0.0001155/0.8742, allocations: 124.8 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.8743, allocations: 9.688 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.8743, allocations: 11.05 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8743, allocations: 0 / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8743, allocations: 1 kB / 1.172 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8743, allocations: 8.094 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.8749, allocations: 382.7 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8749, allocations: 1.828 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.8749, allocations: 9.641 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.875, allocations: 4.062 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.875, allocations: 8.734 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.875, allocations: 1.875 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.875, allocations: 0 / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.8753, allocations: 221.8 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.8754, allocations: 85.72 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.8754, allocations: 4.797 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.8755, allocations: 5.969 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.8756, allocations: 9.953 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.8756, allocations: 6.531 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.8756, allocations: 90.28 kB / 1.172 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8757, allocations: 0 / 1.172 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003638/0.876, allocations: 46.2 kB / 1.172 GB, free: 11.08 MB / 0.7448 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.0004314/0.8765, allocations: 179.9 kB / 1.173 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.8767, allocations: 73.78 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8767, allocations: 128 / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.8769, allocations: 38.12 kB / 1.173 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.8771, allocations: 9.359 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.8776, allocations: 215.1 kB / 1.173 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8779, allocations: 0.6878 MB / 1.174 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.878, allocations: 6.625 kB / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.878, allocations: 16.19 kB / 1.174 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.878, allocations: 0 / 1.174 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.004908/0.8829, allocations: 1.508 MB / 1.175 GB, free: 9.059 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)