Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.219/2.219, allocations: 390.3 MB / 405.3 MB, free: 13.29 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.001045/0.001045, allocations: 190.6 kB / 498.1 MB, free: 5.527 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.514/1.514, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.0009176/0.0009176, allocations: 102.6 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 8.391 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.4758, allocations: 151.2 MB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.4761, allocations: 83.95 kB / 1.371 GB, free: 10.68 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.009561/0.4857, allocations: 3.032 MB / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4857, allocations: 0 / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4858, allocations: 0 / 1.374 GB, free: 7.645 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.0005883/0.4864, allocations: 424.7 kB / 1.374 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4864, allocations: 8.031 kB / 1.374 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.4865, allocations: 38.55 kB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.4865, allocations: 19.86 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4866, allocations: 178.9 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.4867, allocations: 0 / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.4867, allocations: 4 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4869, allocations: 73.64 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4869, allocations: 0 / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4869, allocations: 4 kB / 1.374 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4869, allocations: 3.938 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4871, allocations: 39.98 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.4877, allocations: 324.6 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4878, allocations: 50.56 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4879, allocations: 0 / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.488, allocations: 87.55 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.488, allocations: 0 / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004044/0.4885, allocations: 149.5 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4885, allocations: 55.41 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.4886, allocations: 120.8 kB / 1.375 GB, free: 5.891 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4887, allocations: 25.7 kB / 1.375 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.4887, allocations: 92.33 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4887, allocations: 15.75 kB / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.4888, allocations: 8 kB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4889, allocations: 318.8 kB / 1.376 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.489, allocations: 23.98 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.4891, allocations: 58.47 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.4892, allocations: 36 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4892, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.4894, allocations: 117.5 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4895, allocations: 7.938 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4895, allocations: 4.062 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4895, allocations: 0 / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.4896, allocations: 15.98 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4896, allocations: 3.953 kB / 1.376 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.4897, allocations: 11.98 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4897, allocations: 4 kB / 1.376 GB, free: 5.125 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.322e-05/0.4898, allocations: 113.8 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.4898, allocations: 11.91 kB / 1.376 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.4899, allocations: 12.38 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4899, allocations: 0 / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4899, allocations: 7.922 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4899, allocations: 3.953 kB / 1.376 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.4903, allocations: 378.5 kB / 1.376 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4904, allocations: 4 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.4904, allocations: 8 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.4904, allocations: 0 / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4904, allocations: 0 / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4904, allocations: 3.953 kB / 1.376 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4905, allocations: 3.984 kB / 1.376 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4908, allocations: 215.4 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.4908, allocations: 85.02 kB / 1.377 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4908, allocations: 7.938 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.4909, allocations: 7.984 kB / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.491, allocations: 7.953 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.491, allocations: 7.984 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.4911, allocations: 95.2 kB / 1.377 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4911, allocations: 0 / 1.377 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003088/0.4914, allocations: 52 kB / 1.377 GB, free: 4.02 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.0008907/0.4923, allocations: 0.8344 MB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4925, allocations: 71.91 kB / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4925, allocations: 0 / 1.378 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.4926, allocations: 44.09 kB / 1.378 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.4928, allocations: 11.95 kB / 1.378 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.4936, allocations: 0.7205 MB / 1.378 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4939, allocations: 0.6887 MB / 1.379 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.494, allocations: 8.125 kB / 1.379 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.494, allocations: 23.42 kB / 1.379 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.4941, allocations: 4 kB / 1.379 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.5065, allocations: 2.471 MB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.5068, allocations: 231.5 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.001, allocations: 4 kB / 1.382 GB, free: 14.95 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat