Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001005/0.001005, allocations: 186.7 kB / 498.1 MB, free: 5.758 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.498/1.498, allocations: 223.2 MB / 0.7948 GB, free: 18 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.0008926/0.0008925, allocations: 95.83 kB / 0.9346 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 12.41 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.4534, allocations: 151.5 MB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4537, allocations: 87.89 kB / 1.371 GB, free: 10.48 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.0115/0.4652, allocations: 3.655 MB / 1.375 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.396e-06/0.4653, allocations: 3.984 kB / 1.375 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.4653, allocations: 4 kB / 1.375 GB, free: 6.812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007139/0.466, allocations: 496 kB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4661, allocations: 8.031 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.4661, allocations: 34.56 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.4662, allocations: 23.77 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.4663, allocations: 171.6 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.4664, allocations: 8 kB / 1.375 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.4664, allocations: 4 kB / 1.375 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.4667, allocations: 105.5 kB / 1.375 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4667, allocations: 3.984 kB / 1.375 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4667, allocations: 4 kB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4667, allocations: 4 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4669, allocations: 75.91 kB / 1.375 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.4678, allocations: 368.7 kB / 1.376 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.468, allocations: 78.47 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4681, allocations: 112 / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.4683, allocations: 111.3 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.4683, allocations: 0 / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0005516/0.4689, allocations: 237.4 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4689, allocations: 51.41 kB / 1.376 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.469, allocations: 135.5 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.4691, allocations: 25.7 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.4691, allocations: 100.4 kB / 1.377 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4692, allocations: 23.75 kB / 1.377 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4692, allocations: 0 / 1.377 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4693, allocations: 326.8 kB / 1.377 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4694, allocations: 43.91 kB / 1.377 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.4696, allocations: 80.27 kB / 1.377 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4697, allocations: 52.94 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4697, allocations: 384 / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003458/0.4701, allocations: 169.3 kB / 1.377 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4701, allocations: 4 kB / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4701, allocations: 0 / 1.377 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4701, allocations: 11.89 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4703, allocations: 32.12 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4703, allocations: 4 kB / 1.377 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4704, allocations: 8 kB / 1.377 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4705, allocations: 4 kB / 1.377 GB, free: 3.812 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 (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.0001123/0.4706, allocations: 130.5 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.4706, allocations: 7.906 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.4706, allocations: 12.72 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4706, allocations: 4 kB / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4707, allocations: 3.953 kB / 1.377 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4707, allocations: 0 / 1.377 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.4713, allocations: 470.5 kB / 1.378 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4713, allocations: 4 kB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.4714, allocations: 11.98 kB / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4714, allocations: 0 / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4714, allocations: 15.94 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4715, allocations: 0 / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4715, allocations: 7.922 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.4719, allocations: 271.4 kB / 1.378 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.4719, allocations: 88.89 kB / 1.378 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.472, allocations: 7.984 kB / 1.378 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.4721, allocations: 11.89 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.4722, allocations: 11.98 kB / 1.378 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4722, allocations: 4 kB / 1.378 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.965e-05/0.4723, allocations: 113.9 kB / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4723, allocations: 0 / 1.378 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000314/0.4726, allocations: 55.98 kB / 1.378 GB, free: 2.504 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 (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.001005/0.4736, allocations: 0.8788 MB / 1.379 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.474, allocations: 119.9 kB / 1.379 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.474, allocations: 0 / 1.379 GB, free: 1.496 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4741, allocations: 63.91 kB / 1.379 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.4743, allocations: 20.12 kB / 1.379 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.4754, allocations: 1.103 MB / 1.381 GB, free: 248 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4758, allocations: 0.7043 MB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.4758, allocations: 7.984 kB / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.4759, allocations: 31.42 kB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of SimCode: time 3.21e-07/0.4759, allocations: 0 / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.4908, allocations: 3.165 MB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.491, allocations: 237.5 kB / 1.385 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.038, allocations: 3.875 kB / 1.385 GB, free: 12.25 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat