Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001122/0.001122, allocations: 184.3 kB / 377.1 MB, free: 1.512 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.874/1.874, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009232/0.0009232, allocations: 86.52 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003991, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2872, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7517/1.039, allocations: 141 MB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.039, allocations: 86.11 kB / 1.126 GB, free: 33.99 MB / 0.7292 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.008624/1.048, allocations: 2.987 MB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.757e-06/1.048, allocations: 0 / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.048, allocations: 4.656 kB / 1.129 GB, free: 31.84 MB / 0.7292 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.0005525/1.049, allocations: 424.3 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.049, allocations: 13.08 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/1.049, allocations: 38.5 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/1.049, allocations: 6.062 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.049, allocations: 179.2 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/1.049, allocations: 7.438 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/1.049, allocations: 8.562 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/1.049, allocations: 69.69 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/1.049, allocations: 1.828 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.049, allocations: 3.562 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.049, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/1.049, allocations: 46.94 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/1.05, allocations: 316.6 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/1.05, allocations: 57.31 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.05, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/1.05, allocations: 82.25 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.051, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004483/1.051, allocations: 147.8 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.051, allocations: 55.41 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/1.051, allocations: 117 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1.051, allocations: 29.7 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/1.051, allocations: 96.64 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/1.051, allocations: 15.8 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/1.051, allocations: 4 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.051, allocations: 322.3 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/1.051, allocations: 23.47 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/1.052, allocations: 63.05 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/1.052, allocations: 35.83 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.052, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/1.052, allocations: 116.1 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.052, allocations: 11.94 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.052, allocations: 6.891 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.052, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.052, allocations: 15.52 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.052, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/1.052, allocations: 15.92 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/1.052, allocations: 3.953 kB / 1.131 GB, free: 29.48 MB / 0.7292 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 () * 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.0001088/1.052, allocations: 122.8 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/1.052, allocations: 7.938 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/1.052, allocations: 11.89 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.052, allocations: 0 / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.052, allocations: 0.5 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.052, allocations: 0 / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/1.053, allocations: 388.8 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.053, allocations: 4.5 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/1.053, allocations: 7.375 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.053, allocations: 0 / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.053, allocations: 2.188 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.053, allocations: 4.875 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.053, allocations: 4 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/1.053, allocations: 223.4 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/1.053, allocations: 81.11 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/1.053, allocations: 3.609 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/1.054, allocations: 4 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/1.054, allocations: 7.422 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/1.054, allocations: 4 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.075e-05/1.054, allocations: 99.78 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.834e-06/1.054, allocations: 0.75 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000349/1.054, allocations: 55.5 kB / 1.132 GB, free: 28.45 MB / 0.7292 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.0009204/1.055, allocations: 0.8129 MB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002922/1.055, allocations: 80 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.055, allocations: 0 / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/1.055, allocations: 43 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/1.056, allocations: 4.938 kB / 1.133 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/1.057, allocations: 0.8872 MB / 1.134 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/1.057, allocations: 0.695 MB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.558e-05/1.057, allocations: 6.297 kB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/1.057, allocations: 22.95 kB / 1.135 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/1.057, allocations: 0 / 1.135 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/1.071, allocations: 2.488 MB / 1.137 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.071, allocations: 237.2 kB / 1.137 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.696, allocations: 1.125 kB / 1.137 GB, free: 24.29 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)