Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.59/2.59, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 187.3 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009396, allocations: 102.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 6.812 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.4536, allocations: 152.3 MB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.4538, allocations: 83.95 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.01613/0.47, allocations: 3.656 MB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/0.47, allocations: 0 / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.47, allocations: 0 / 1.382 GB, free: 13.37 MB / 0.8855 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.0009111/0.471, allocations: 491.3 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.471, allocations: 8.031 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.4711, allocations: 42.56 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.4712, allocations: 11.86 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4713, allocations: 193.8 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.4714, allocations: 0 / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.4715, allocations: 12 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.4718, allocations: 97.56 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4718, allocations: 0 / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.4719, allocations: 4 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4719, allocations: 4 kB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.4722, allocations: 71.91 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.4735, allocations: 380.5 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.4738, allocations: 70.55 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.4738, allocations: 8 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.4742, allocations: 103.3 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.4742, allocations: 0 / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.000848/0.475, allocations: 237.3 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.4751, allocations: 59.34 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4753, allocations: 126.7 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4753, allocations: 29.7 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4755, allocations: 108.3 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4755, allocations: 19.95 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.4755, allocations: 112 / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4757, allocations: 326.8 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4759, allocations: 47.97 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.4761, allocations: 79.77 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.4763, allocations: 51.98 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4763, allocations: 0 / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000516/0.4769, allocations: 169.3 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4769, allocations: 4 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4769, allocations: 4 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.477, allocations: 3.953 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.4772, allocations: 28.02 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4772, allocations: 3.984 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.4774, allocations: 19.92 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.4774, allocations: 4 kB / 1.384 GB, free: 10.36 MB / 0.8855 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 () * Number of clocked 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.0001547/0.4776, allocations: 122.7 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.4776, allocations: 7.906 kB / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.4777, allocations: 20.77 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4777, allocations: 4 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.4777, allocations: 3.953 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4777, allocations: 0 / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009699/0.4787, allocations: 470.4 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4787, allocations: 480 / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-05/0.4788, allocations: 15.92 kB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4788, allocations: 0 / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4789, allocations: 7.953 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4789, allocations: 0 / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4789, allocations: 3.938 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.4795, allocations: 283.2 kB / 1.385 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.4796, allocations: 85.02 kB / 1.385 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.4797, allocations: 4 kB / 1.385 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.4799, allocations: 15.94 kB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.48, allocations: 12.02 kB / 1.385 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.48, allocations: 4 kB / 1.385 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001057/0.4801, allocations: 110.2 kB / 1.385 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4801, allocations: 0 / 1.385 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005691/0.4807, allocations: 59.88 kB / 1.386 GB, free: 9.055 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001382/0.4821, allocations: 0.8675 MB / 1.386 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.4826, allocations: 127.8 kB / 1.387 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4826, allocations: 0 / 1.387 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4828, allocations: 59.97 kB / 1.387 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4831, allocations: 24.06 kB / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.4844, allocations: 1.091 MB / 1.388 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4848, allocations: 0.7082 MB / 1.388 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.94e-05/0.4849, allocations: 7.938 kB / 1.388 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.485, allocations: 27.42 kB / 1.388 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.485, allocations: 0 / 1.388 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.501, allocations: 3.185 MB / 1.391 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.5012, allocations: 244.5 kB / 1.392 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.126, allocations: 10.03 kB / 1.392 GB, free: 2.781 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat