Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.28 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.001357/0.001357, allocations: 177.1 kB / 498.1 MB, free: 5.508 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.416/1.416, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009675/0.0009677, allocations: 105.5 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 10.25 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2655, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4526, allocations: 151.6 MB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.4529, allocations: 87.94 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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.0102/0.4631, allocations: 3.289 MB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4632, allocations: 0 / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4632, allocations: 4 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006218/0.4638, allocations: 474.2 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4639, allocations: 8.031 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.4639, allocations: 42.5 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.464, allocations: 15.84 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4641, allocations: 167 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.4642, allocations: 0 / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4642, allocations: 12 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4645, allocations: 85.62 kB / 1.375 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4645, allocations: 4 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4645, allocations: 7.938 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4645, allocations: 0 / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.4647, allocations: 55.95 kB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/0.4655, allocations: 340.8 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.4657, allocations: 66.58 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4657, allocations: 12.12 kB / 1.375 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.4659, allocations: 95.36 kB / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.4659, allocations: 0 / 1.376 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.4665, allocations: 197.5 kB / 1.376 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4666, allocations: 55.41 kB / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4667, allocations: 128.7 kB / 1.376 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4667, allocations: 25.7 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.4668, allocations: 96.05 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.4668, allocations: 19.78 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.4669, allocations: 4 kB / 1.376 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.467, allocations: 318.8 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.4671, allocations: 35.97 kB / 1.376 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4672, allocations: 60.28 kB / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.4673, allocations: 39.98 kB / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4673, allocations: 0 / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002675/0.4676, allocations: 137.4 kB / 1.377 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4676, allocations: 12.09 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4676, allocations: 0 / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4677, allocations: 0 / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4678, allocations: 23.92 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4678, allocations: 12.2 kB / 1.377 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.4679, allocations: 4 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4679, allocations: 7.938 kB / 1.377 GB, free: 4.25 MB / 0.8698 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 (13): * Single equations (assignments): 13 * 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.0001127/0.468, allocations: 133.3 kB / 1.377 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.468, allocations: 7.906 kB / 1.377 GB, free: 4.105 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.4681, allocations: 4.375 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4681, allocations: 0 / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4681, allocations: 0 / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4681, allocations: 3.953 kB / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.4687, allocations: 446.3 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4687, allocations: 0 / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.4688, allocations: 4.062 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4688, allocations: 4 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4688, allocations: 11.98 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4688, allocations: 3.953 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4688, allocations: 0 / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.4692, allocations: 251.3 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.4693, allocations: 85.02 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.4693, allocations: 3.984 kB / 1.378 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.4694, allocations: 8 kB / 1.378 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4695, allocations: 7.938 kB / 1.378 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4695, allocations: 12 kB / 1.378 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.4696, allocations: 95.27 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4696, allocations: 0 / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003442/0.47, allocations: 55.92 kB / 1.378 GB, free: 3.039 MB / 0.8698 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 (8): * Single equations (assignments): 4 * 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.001019/0.471, allocations: 0.8588 MB / 1.379 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.4713, allocations: 99.94 kB / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4713, allocations: 0 / 1.379 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4715, allocations: 51.97 kB / 1.379 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.4717, allocations: 15.94 kB / 1.379 GB, free: 2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.4727, allocations: 1.063 MB / 1.38 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.4729, allocations: 0.6926 MB / 1.38 GB, free: 156 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.611e-05/0.473, allocations: 8 kB / 1.38 GB, free: 148 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.4731, allocations: 23.42 kB / 1.38 GB, free: 124 kB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.4731, allocations: 0 / 1.38 GB, free: 124 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.4886, allocations: 2.826 MB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.4888, allocations: 229.3 kB / 1.383 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.02, allocations: 2.109 kB / 1.383 GB, free: 13.21 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat