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.212/2.212, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001382/0.001382, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.522/1.522, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001008, allocations: 91.8 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.019e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.151, allocations: 150.5 MB / 1.353 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.151, allocations: 84.39 kB / 1.353 GB, free: 17.98 MB / 0.823 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.009739/1.161, allocations: 2.996 MB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.605e-06/1.161, allocations: 0.9844 kB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.161, allocations: 3.875 kB / 1.356 GB, free: 33.53 MB / 0.8386 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.0005145/1.161, allocations: 418.5 kB / 1.356 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.161, allocations: 8.922 kB / 1.356 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/1.161, allocations: 7.75 kB / 1.356 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.161, allocations: 175.8 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/1.161, allocations: 4.547 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/1.162, allocations: 6.406 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.913e-05/1.162, allocations: 23.44 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.657e-05/1.162, allocations: 55.55 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.162, allocations: 0 / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.162, allocations: 0.6094 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.162, allocations: 7.812 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/1.162, allocations: 287.5 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/1.162, allocations: 41.7 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/1.162, allocations: 28.33 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/1.162, allocations: 0.6562 kB / 1.357 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/1.163, allocations: 68.67 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/1.163, allocations: 0 / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002255/1.163, allocations: 96.14 kB / 1.357 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/1.163, allocations: 56.45 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/1.163, allocations: 110.6 kB / 1.357 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/1.163, allocations: 26.22 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/1.163, allocations: 96.53 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/1.163, allocations: 16.8 kB / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/1.163, allocations: 0 / 1.357 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.163, allocations: 321.3 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.564e-05/1.163, allocations: 19.22 kB / 1.358 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/1.163, allocations: 35.78 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/1.163, allocations: 25.06 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.163, allocations: 0 / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000138/1.163, allocations: 94.33 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.163, allocations: 8.484 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.163, allocations: 0 / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/1.163, allocations: 0 / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/1.164, allocations: 14.81 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.164, allocations: 3.938 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/1.164, allocations: 13.23 kB / 1.358 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.164, allocations: 4.688 kB / 1.358 GB, free: 31.83 MB / 0.8386 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 () * 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 7.942e-05/1.164, allocations: 109.4 kB / 1.358 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000143/1.164, allocations: 102.1 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/1.164, allocations: 3.875 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/1.164, allocations: 9.641 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.164, allocations: 3.875 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.164, allocations: 0 / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.164, allocations: 4.469 kB / 1.358 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/1.164, allocations: 342.6 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.164, allocations: 4.453 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/1.164, allocations: 5.297 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.164, allocations: 0 / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.164, allocations: 1.406 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.164, allocations: 0.875 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.164, allocations: 4.516 kB / 1.359 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.165, allocations: 192.6 kB / 1.359 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/1.165, allocations: 81.62 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/1.165, allocations: 4.453 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/1.165, allocations: 5.438 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/1.165, allocations: 10.45 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.165, allocations: 8.469 kB / 1.359 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.189e-05/1.165, allocations: 88.95 kB / 1.359 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.165, allocations: 0 / 1.359 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002878/1.165, allocations: 61.11 kB / 1.359 GB, free: 31.06 MB / 0.8386 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 () * 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.0006373/1.166, allocations: 0.7922 MB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000123/1.166, allocations: 48.42 kB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/1.166, allocations: 3.938 kB / 1.36 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/1.166, allocations: 27.12 kB / 1.36 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.166, allocations: 5.781 kB / 1.36 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/1.167, allocations: 155.7 kB / 1.36 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/1.167, allocations: 0.6967 MB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.657e-05/1.167, allocations: 4.062 kB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.975e-05/1.167, allocations: 16.86 kB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.167, allocations: 7.781 kB / 1.361 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/1.186, allocations: 2.182 MB / 1.363 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.186, allocations: 199.9 kB / 1.363 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.703, allocations: 3.25 kB / 1.363 GB, free: 29.09 MB / 0.8386 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