Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.743/1.743, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001433/0.001433, allocations: 180.9 kB / 361.4 MB, free: 6.809 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.713/1.713, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009826/0.0009825, allocations: 88.89 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.409e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7421, allocations: 115.3 MB / 0.9645 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.9488, allocations: 139.6 MB / 1.101 GB, free: 160 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.9492, allocations: 85.34 kB / 1.101 GB, free: 80 kB / 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.01223/0.9614, allocations: 3.571 MB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9615, allocations: 0.5312 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9615, allocations: 5.938 kB / 1.104 GB, free: 12.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008369/0.9623, allocations: 474.3 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.9624, allocations: 9.906 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.9625, allocations: 16.84 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.9627, allocations: 184.2 kB / 1.105 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.9627, allocations: 4 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.9628, allocations: 4 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.9629, allocations: 40.95 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.963, allocations: 77.59 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9631, allocations: 3.844 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.9631, allocations: 7.984 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9631, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.964, allocations: 339 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.9642, allocations: 50.69 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.9642, allocations: 48.78 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.9643, allocations: 7.938 kB / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.9644, allocations: 83.38 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.434e-06/0.9644, allocations: 0 / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003871/0.9648, allocations: 141.5 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.9649, allocations: 51.41 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.965, allocations: 131.7 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.965, allocations: 29.7 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.9651, allocations: 101.7 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.9652, allocations: 27.84 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.9652, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9653, allocations: 322.8 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.9654, allocations: 24 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.9655, allocations: 60.28 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.9656, allocations: 39.92 kB / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9656, allocations: 0 / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002422/0.9658, allocations: 117.1 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9659, allocations: 8 kB / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9659, allocations: 0 / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.9659, allocations: 4 kB / 1.107 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.9661, allocations: 20.06 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.9661, allocations: 11.94 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.9663, allocations: 13.72 kB / 1.107 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.9663, allocations: 8 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001193/0.9664, allocations: 114.1 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003025/0.9667, allocations: 145.4 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.9668, allocations: 7.906 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.9668, allocations: 12.62 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9668, allocations: 4 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.9668, allocations: 0 / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9669, allocations: 9.531 kB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.9674, allocations: 399.6 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9674, allocations: 0 / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.9675, allocations: 11.98 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.9675, allocations: 0 / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9675, allocations: 10.05 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9676, allocations: 7.938 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9676, allocations: 3.953 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.9679, allocations: 235.4 kB / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.968, allocations: 88.92 kB / 1.108 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.968, allocations: 3.984 kB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.9682, allocations: 8 kB / 1.108 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.9682, allocations: 15.94 kB / 1.108 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.9683, allocations: 4 kB / 1.108 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.9683, allocations: 105.7 kB / 1.108 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.084e-06/0.9684, allocations: 0 / 1.108 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000427/0.9688, allocations: 55.86 kB / 1.108 GB, free: 8.641 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001183/0.97, allocations: 0.8563 MB / 1.109 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.9702, allocations: 83.92 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9703, allocations: 0 / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.9703, allocations: 46.28 kB / 1.109 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.9706, allocations: 12.17 kB / 1.109 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.9713, allocations: 192.5 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.9716, allocations: 0.7002 MB / 1.11 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.9717, allocations: 4 kB / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.9718, allocations: 35.42 kB / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.9718, allocations: 0 / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.9945, allocations: 2.837 MB / 1.113 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.9948, allocations: 201.1 kB / 1.113 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.535, allocations: 2 kB / 1.113 GB, free: 3.617 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)