Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.385/2.385, 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.001521/0.001521, allocations: 176 kB / 0.4901 GB, free: 2.227 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.588/1.588, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009011/0.0009009, allocations: 106.6 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 10.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2795, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4669, allocations: 152 MB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4672, allocations: 83.95 kB / 1.378 GB, free: 1.305 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.009744/0.477, allocations: 3.035 MB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/0.477, allocations: 4 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.477, allocations: 4 kB / 1.381 GB, free: 14.25 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.0005741/0.4776, allocations: 424.7 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4776, allocations: 8.031 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.4777, allocations: 38.55 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4777, allocations: 7.953 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4779, allocations: 170.9 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.4779, allocations: 12 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.4779, allocations: 4 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.4781, allocations: 69.59 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4781, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4782, allocations: 7.984 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4782, allocations: 4 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4783, allocations: 43.92 kB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.479, allocations: 316.8 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4791, allocations: 50.56 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.4791, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.4793, allocations: 79.52 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4793, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.00042/0.4798, allocations: 157.5 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4798, allocations: 55.41 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.4799, allocations: 109 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.48, allocations: 33.62 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.48, allocations: 96.23 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4801, allocations: 7.812 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.4801, allocations: 8 kB / 1.382 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4802, allocations: 318.8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.4803, allocations: 31.92 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.4804, allocations: 50.98 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.4805, allocations: 35.98 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4805, allocations: 0 / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002884/0.4808, allocations: 113.6 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4808, allocations: 8 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4808, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4809, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.481, allocations: 20.05 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.481, allocations: 8.281 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.4811, allocations: 19.83 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.4811, allocations: 4 kB / 1.383 GB, free: 11.75 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.0001008/0.4812, allocations: 119.3 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.4812, allocations: 4 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.4813, allocations: 8.375 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.4813, allocations: 8 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4813, allocations: 4 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4813, allocations: 7.938 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.4818, allocations: 382.4 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4818, allocations: 3.984 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.4818, allocations: 4 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4818, allocations: 8 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4819, allocations: 4 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4819, allocations: 3.953 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4819, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.4822, allocations: 207.5 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.4823, allocations: 85.02 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4823, allocations: 4 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.4824, allocations: 11.98 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.4824, allocations: 3.953 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4825, allocations: 7.984 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.4825, allocations: 95.38 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 0 / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003028/0.4828, allocations: 55.92 kB / 1.384 GB, free: 10.64 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.0009094/0.4838, allocations: 0.8244 MB / 1.385 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.484, allocations: 71.91 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.484, allocations: 0 / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4841, allocations: 39.97 kB / 1.385 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4843, allocations: 16.34 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.4852, allocations: 0.7283 MB / 1.386 GB, free: 8.887 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.4855, allocations: 0.6887 MB / 1.386 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.4856, allocations: 4.734 kB / 1.386 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.4857, allocations: 23.42 kB / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.4857, allocations: 0 / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.5009, allocations: 2.505 MB / 1.389 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.5012, allocations: 260.4 kB / 1.389 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.107, allocations: 5.812 kB / 1.389 GB, free: 5.477 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat does not exist to compare? outputFormat=mat