Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.633/1.633, allocations: 285.4 MB / 298 MB, free: 6.004 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.001127/0.001127, allocations: 180.8 kB / 366.4 MB, free: 2.062 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.677/1.677, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008394/0.0008394, allocations: 85.69 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.971e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.667/0.667, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.8528, allocations: 140 MB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.8531, allocations: 83.94 kB / 1.108 GB, free: 11.71 MB / 0.7136 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.009345/0.8625, allocations: 2.962 MB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8625, allocations: 2.281 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.8625, allocations: 4 kB / 1.111 GB, free: 8.77 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.0004763/0.863, allocations: 425.3 kB / 1.111 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.8631, allocations: 8.719 kB / 1.111 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.8631, allocations: 30.56 kB / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.8632, allocations: 10.34 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.8633, allocations: 167 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8633, allocations: 8 kB / 1.111 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.8634, allocations: 7.984 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.8635, allocations: 66.36 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8635, allocations: 0 / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8635, allocations: 2.344 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.8635, allocations: 0.9375 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.8636, allocations: 20 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.8642, allocations: 318 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.8643, allocations: 47.38 kB / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.8644, allocations: 25.7 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.8644, allocations: 2.031 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.8645, allocations: 74.67 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.8646, allocations: 0 / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000242/0.8648, allocations: 94.38 kB / 1.112 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.8649, allocations: 65.84 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.8649, allocations: 120.9 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.865, allocations: 29.64 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.865, allocations: 92.33 kB / 1.112 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.8651, allocations: 19.73 kB / 1.112 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.8651, allocations: 4 kB / 1.112 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8652, allocations: 313.2 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.8652, allocations: 23.98 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.8653, allocations: 43.44 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.547e-05/0.8654, allocations: 24.92 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8654, allocations: 3.375 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001648/0.8655, allocations: 101.5 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8656, allocations: 8 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8656, allocations: 3.938 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8656, allocations: 0 / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.8657, allocations: 15.98 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8657, allocations: 0 / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.8658, allocations: 20.02 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.8658, allocations: 3.984 kB / 1.113 GB, free: 6.398 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.233e-05/0.8659, allocations: 105.8 kB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.8659, allocations: 11.91 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.8659, allocations: 8.562 kB / 1.113 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.866, allocations: 4 kB / 1.113 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.866, allocations: 0 / 1.113 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.866, allocations: 0 / 1.113 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.8663, allocations: 371.3 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8663, allocations: 0 / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.8664, allocations: 7.984 kB / 1.113 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.8664, allocations: 4 kB / 1.113 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.8664, allocations: 4 kB / 1.113 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8664, allocations: 3.938 kB / 1.113 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8664, allocations: 7.891 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.8666, allocations: 196.4 kB / 1.113 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.8667, allocations: 81.09 kB / 1.114 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.8667, allocations: 4 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.8668, allocations: 4 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.8669, allocations: 3.984 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.8669, allocations: 7.953 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.8669, allocations: 96.47 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8669, allocations: 0 / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003497/0.8673, allocations: 55.84 kB / 1.114 GB, free: 5.352 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.0007125/0.868, allocations: 0.7937 MB / 1.114 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.8682, allocations: 71.08 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8682, allocations: 0 / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.8683, allocations: 24 kB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.8684, allocations: 9.203 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.8689, allocations: 153.4 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.8691, allocations: 0.6887 MB / 1.115 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.8692, allocations: 12.3 kB / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.8692, allocations: 19.44 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.8693, allocations: 1.688 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.8828, allocations: 2.514 MB / 1.118 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.883, allocations: 219.3 kB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.522, allocations: 3.938 kB / 1.118 GB, free: 0.9609 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)