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.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001175/0.001175, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.477/1.477, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.001015/0.001015, allocations: 103.3 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.716e-05/1.718e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9945/1.251, allocations: 150.5 MB / 1.353 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.251, allocations: 82.22 kB / 1.353 GB, free: 18.18 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.009046/1.26, allocations: 2.993 MB / 1.356 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.26, allocations: 0 / 1.356 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.26, allocations: 3.812 kB / 1.356 GB, free: 33.74 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.0004629/1.261, allocations: 417.7 kB / 1.356 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/1.261, allocations: 7.688 kB / 1.356 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/1.261, allocations: 8.297 kB / 1.356 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/1.261, allocations: 171.5 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.261, allocations: 4.516 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/1.261, allocations: 7.812 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.307e-05/1.261, allocations: 23.19 kB / 1.357 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/1.261, allocations: 58.69 kB / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.261, allocations: 0 / 1.357 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.261, allocations: 12.52 kB / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/1.261, allocations: 0 / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/1.262, allocations: 289 kB / 1.357 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.978e-05/1.262, allocations: 42.5 kB / 1.357 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/1.262, allocations: 27.66 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.262, allocations: 0.5625 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.262, allocations: 69.22 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.262, allocations: 0 / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000244/1.262, allocations: 100.5 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.263, allocations: 51.41 kB / 1.357 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/1.263, allocations: 116.9 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/1.263, allocations: 25.7 kB / 1.357 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/1.263, allocations: 96.92 kB / 1.357 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/1.263, allocations: 15.38 kB / 1.358 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.263, allocations: 0 / 1.358 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.263, allocations: 320.5 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/1.263, allocations: 18.84 kB / 1.358 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/1.263, allocations: 35.8 kB / 1.358 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/1.263, allocations: 24.86 kB / 1.358 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.263, allocations: 0.5156 kB / 1.358 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001436/1.263, allocations: 92.3 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.263, allocations: 4.5 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.263, allocations: 0 / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.263, allocations: 3.875 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/1.263, allocations: 10.75 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.263, allocations: 4.031 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/1.263, allocations: 13.11 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/1.263, allocations: 4.516 kB / 1.358 GB, free: 32.04 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.828e-05/1.264, allocations: 113.3 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001397/1.264, allocations: 97.3 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/1.264, allocations: 4.688 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/1.264, allocations: 12.36 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.264, allocations: 0 / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.264, allocations: 4.516 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.264, allocations: 4.469 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/1.264, allocations: 339.2 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.264, allocations: 0 / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/1.264, allocations: 10.84 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.264, allocations: 7.812 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.264, allocations: 1.453 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/1.264, allocations: 0 / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.264, allocations: 4.562 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/1.264, allocations: 188.5 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/1.264, allocations: 85.55 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/1.264, allocations: 0.6562 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/1.264, allocations: 5.188 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/1.265, allocations: 13.69 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/1.265, allocations: 6.016 kB / 1.359 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.362e-05/1.265, allocations: 91.8 kB / 1.359 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.265, allocations: 0 / 1.359 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003077/1.265, allocations: 52.38 kB / 1.359 GB, free: 31.27 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.0007184/1.266, allocations: 0.7874 MB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.266, allocations: 55.72 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.266, allocations: 0 / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/1.266, allocations: 31.2 kB / 1.36 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/1.266, allocations: 10.67 kB / 1.36 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/1.266, allocations: 151.9 kB / 1.36 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/1.267, allocations: 0.6927 MB / 1.361 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.827e-05/1.267, allocations: 7.984 kB / 1.361 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/1.267, allocations: 21.89 kB / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.267, allocations: 0 / 1.361 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.288, allocations: 2.176 MB / 1.363 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.288, allocations: 195.4 kB / 1.363 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.793, allocations: 0 / 1.363 GB, free: 29.37 MB / 0.8386 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