Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.181/2.181, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001313/0.001313, allocations: 183.5 kB / 498.1 MB, free: 5.688 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.537/1.537, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009341/0.000934, allocations: 102.9 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003592, allocations: 10.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.43, allocations: 151.2 MB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4303, allocations: 83.95 kB / 1.371 GB, free: 10.64 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.009077/0.4394, allocations: 3.028 MB / 1.374 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4394, allocations: 0 / 1.374 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4394, allocations: 0 / 1.374 GB, free: 7.609 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.0005568/0.44, allocations: 424.8 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.44, allocations: 11.97 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.4401, allocations: 34.56 kB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.4401, allocations: 15.86 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4403, allocations: 174.9 kB / 1.374 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.4403, allocations: 7.984 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4403, allocations: 4 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.4405, allocations: 73.64 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.4405, allocations: 0 / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4406, allocations: 8 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4406, allocations: 0 / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.4407, allocations: 43.95 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.4413, allocations: 324.6 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.4415, allocations: 46.56 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4415, allocations: 7.984 kB / 1.375 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.4416, allocations: 75.52 kB / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4417, allocations: 0 / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0003898/0.4421, allocations: 153.6 kB / 1.375 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4421, allocations: 55.41 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.4422, allocations: 120.8 kB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4422, allocations: 25.7 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4423, allocations: 96.31 kB / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4423, allocations: 15.75 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.4423, allocations: 4 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4424, allocations: 314.8 kB / 1.376 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.4425, allocations: 31.98 kB / 1.376 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.015e-05/0.4426, allocations: 54.5 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.4427, allocations: 31.92 kB / 1.376 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4427, allocations: 4 kB / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/0.443, allocations: 125.5 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.443, allocations: 4.781 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.443, allocations: 0 / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.443, allocations: 7.938 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.4431, allocations: 11.98 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4432, allocations: 3.953 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.4432, allocations: 8.062 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4433, allocations: 8 kB / 1.376 GB, free: 5.086 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 9.608e-05/0.4434, allocations: 121.8 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.4434, allocations: 7.906 kB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.4434, allocations: 12.38 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4434, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4434, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4434, allocations: 3.953 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.4439, allocations: 378.5 kB / 1.376 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4439, allocations: 4 kB / 1.376 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.4439, allocations: 7.984 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.444, allocations: 0 / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.444, allocations: 4 kB / 1.376 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.444, allocations: 7.891 kB / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.444, allocations: 0 / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.4443, allocations: 215.4 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4443, allocations: 85.02 kB / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4443, allocations: 0 / 1.377 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.4444, allocations: 8 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4445, allocations: 15.94 kB / 1.377 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4445, allocations: 4 kB / 1.377 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.4446, allocations: 91.27 kB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4446, allocations: 3.938 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002924/0.4449, allocations: 51.98 kB / 1.377 GB, free: 3.984 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.000822/0.4457, allocations: 0.8284 MB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.446, allocations: 87.94 kB / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.446, allocations: 0 / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/0.4461, allocations: 31.98 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.4463, allocations: 15.94 kB / 1.378 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008449/0.4471, allocations: 0.7167 MB / 1.378 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.4474, allocations: 0.6926 MB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.4475, allocations: 8.172 kB / 1.379 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.4475, allocations: 19.44 kB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.4475, allocations: 0 / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.4625, allocations: 2.492 MB / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.4628, allocations: 239.5 kB / 1.382 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.958, allocations: 4.062 kB / 1.382 GB, free: 14.92 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat