Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.656/2.656, allocations: 393.5 MB / 408.4 MB, free: 11 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.00126/0.00126, allocations: 184 kB / 0.4901 GB, free: 2.25 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.667/1.667, allocations: 223.1 MB / 0.7992 GB, free: 15.72 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.001134/0.001134, allocations: 100.2 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004065, allocations: 9.062 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2974, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.553, allocations: 152 MB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5533, allocations: 83.95 kB / 1.378 GB, free: 13.1 MB / 0.8855 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.01208/0.5654, allocations: 3.031 MB / 1.381 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5655, allocations: 0 / 1.381 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5655, allocations: 4 kB / 1.381 GB, free: 10.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008131/0.5663, allocations: 428.7 kB / 1.381 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.5664, allocations: 8.031 kB / 1.381 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.5665, allocations: 34.5 kB / 1.381 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.5665, allocations: 19.84 kB / 1.381 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.5667, allocations: 163.1 kB / 1.381 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.5668, allocations: 4 kB / 1.381 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.5668, allocations: 8 kB / 1.381 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.5671, allocations: 69.59 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5671, allocations: 0 / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5671, allocations: 3.984 kB / 1.381 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.5671, allocations: 0 / 1.381 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5673, allocations: 47.97 kB / 1.382 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.5683, allocations: 320.7 kB / 1.382 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.5685, allocations: 58.55 kB / 1.382 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5685, allocations: 0 / 1.382 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.5687, allocations: 79.67 kB / 1.382 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 4.358e-06/0.5687, allocations: 3.938 kB / 1.382 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0005066/0.5693, allocations: 157.5 kB / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.5693, allocations: 55.39 kB / 1.382 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5694, allocations: 120.8 kB / 1.382 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.5695, allocations: 25.7 kB / 1.382 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.5696, allocations: 92.31 kB / 1.382 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.5696, allocations: 19.75 kB / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5696, allocations: 0 / 1.382 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5698, allocations: 322.8 kB / 1.383 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.5699, allocations: 31.98 kB / 1.383 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.57, allocations: 46.56 kB / 1.383 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5701, allocations: 39.92 kB / 1.383 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5701, allocations: 0 / 1.383 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002829/0.5704, allocations: 117.5 kB / 1.383 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5705, allocations: 8.781 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5705, allocations: 4.062 kB / 1.383 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5705, allocations: 0 / 1.383 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5706, allocations: 11.98 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.5706, allocations: 11.89 kB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.5707, allocations: 4 kB / 1.383 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.5708, allocations: 8 kB / 1.383 GB, free: 7.535 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$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.0001107/0.5709, allocations: 123.2 kB / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.5709, allocations: 11.91 kB / 1.383 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.5709, allocations: 8.375 kB / 1.383 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5709, allocations: 4 kB / 1.383 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.571, allocations: 0 / 1.383 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.571, allocations: 3.953 kB / 1.383 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.5715, allocations: 374.5 kB / 1.383 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5715, allocations: 4 kB / 1.384 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.5716, allocations: 11.92 kB / 1.384 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5716, allocations: 4 kB / 1.384 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5716, allocations: 4 kB / 1.384 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5716, allocations: 3.953 kB / 1.384 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5716, allocations: 0 / 1.384 GB, free: 6.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003835/0.572, allocations: 223.4 kB / 1.384 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.5721, allocations: 77.11 kB / 1.384 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5721, allocations: 4 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5722, allocations: 4 kB / 1.384 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.5723, allocations: 11.94 kB / 1.384 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.5723, allocations: 4 kB / 1.384 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.5724, allocations: 91.27 kB / 1.384 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5724, allocations: 0 / 1.384 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000371/0.5728, allocations: 63.8 kB / 1.384 GB, free: 6.426 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: 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.0009808/0.5738, allocations: 0.8174 MB / 1.385 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.574, allocations: 79.89 kB / 1.385 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5741, allocations: 0 / 1.385 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.5742, allocations: 44.09 kB / 1.385 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.5744, allocations: 10 kB / 1.385 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009153/0.5753, allocations: 0.7283 MB / 1.386 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.5756, allocations: 0.6887 MB / 1.386 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.5757, allocations: 8.172 kB / 1.386 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.5758, allocations: 19.44 kB / 1.386 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.5758, allocations: 4 kB / 1.386 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.5915, allocations: 2.497 MB / 1.389 GB, free: 1.613 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.5918, allocations: 235.7 kB / 1.389 GB, free: 1.375 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.208, allocations: 4 kB / 1.389 GB, free: 1.371 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat does not exist to compare? outputFormat=mat