Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001063/0.001063, allocations: 171 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.51/1.51, allocations: 223.1 MB / 0.7948 GB, free: 17.92 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.0009768/0.0009767, allocations: 94.77 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 7.312 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4309, allocations: 151.2 MB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4312, allocations: 91.92 kB / 1.371 GB, free: 10.69 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.009114/0.4403, allocations: 3.024 MB / 1.374 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4404, allocations: 4 kB / 1.374 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4404, allocations: 0 / 1.374 GB, free: 7.656 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005478/0.4409, allocations: 424.8 kB / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.441, allocations: 15.97 kB / 1.374 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.441, allocations: 30.56 kB / 1.374 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.4411, allocations: 11.86 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.4412, allocations: 174.9 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.4412, allocations: 15.98 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4413, allocations: 4 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4414, allocations: 69.64 kB / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4415, allocations: 0 / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4415, allocations: 4 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4415, allocations: 0 / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4416, allocations: 47.97 kB / 1.374 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.4423, allocations: 312.6 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4424, allocations: 58.56 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.4424, allocations: 0 / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.4426, allocations: 79.48 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4426, allocations: 0 / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.443, allocations: 157.6 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4431, allocations: 55.39 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.4432, allocations: 112.9 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4432, allocations: 29.7 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.4433, allocations: 84.33 kB / 1.375 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4433, allocations: 23.73 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.4433, allocations: 4 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4434, allocations: 318.8 kB / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.4435, allocations: 27.98 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.4436, allocations: 54.48 kB / 1.376 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.696e-05/0.4437, allocations: 39.92 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4437, allocations: 0 / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.4439, allocations: 125.4 kB / 1.376 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.444, allocations: 5.094 kB / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.444, allocations: 0 / 1.376 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.444, allocations: 4 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.4441, allocations: 12.06 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4441, allocations: 11.94 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.4442, allocations: 8 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4442, allocations: 4 kB / 1.376 GB, free: 5.137 MB / 0.8698 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 8.771e-05/0.4443, allocations: 113.8 kB / 1.376 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.4443, allocations: 7.906 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.4444, allocations: 12.36 kB / 1.376 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.4444, allocations: 7.938 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4444, allocations: 0 / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4444, allocations: 3.953 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.4449, allocations: 378.5 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4449, allocations: 0 / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.4449, allocations: 4 kB / 1.376 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4449, allocations: 4 kB / 1.376 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4449, allocations: 7.984 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.445, allocations: 11.95 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.445, allocations: 3.938 kB / 1.376 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.4452, allocations: 207.4 kB / 1.377 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.4453, allocations: 85.02 kB / 1.377 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4453, allocations: 3.984 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.4454, allocations: 8 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.4455, allocations: 15.92 kB / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4455, allocations: 4 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.4455, allocations: 91.27 kB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4455, allocations: 3.938 kB / 1.377 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002873/0.4458, allocations: 44 kB / 1.377 GB, free: 4.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: 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.0008227/0.4467, allocations: 0.8333 MB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4469, allocations: 83.88 kB / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4469, allocations: 0 / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.266e-05/0.447, allocations: 35.98 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.4472, allocations: 8.078 kB / 1.378 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.448, allocations: 0.7283 MB / 1.378 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4482, allocations: 0.6887 MB / 1.379 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.4483, allocations: 4.188 kB / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.4483, allocations: 23.42 kB / 1.379 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/0.4483, allocations: 0 / 1.379 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.463, allocations: 2.498 MB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.4633, allocations: 246.4 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.983, allocations: 2.25 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat does not exist to compare? outputFormat=mat