Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.166/2.166, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001112/0.001112, allocations: 188.7 kB / 487.4 MB, free: 5.059 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.599/1.599, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.001176/0.001176, allocations: 104.4 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.647e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2605, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.872/1.133, allocations: 150.8 MB / 1.353 GB, free: 18.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/1.133, allocations: 78.55 kB / 1.353 GB, free: 18.1 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.01113/1.144, allocations: 3.623 MB / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/1.144, allocations: 0 / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.144, allocations: 0 / 1.357 GB, free: 33.61 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000512/1.145, allocations: 473.1 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/1.145, allocations: 7.75 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/1.145, allocations: 18.78 kB / 1.357 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/1.145, allocations: 183.5 kB / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/1.145, allocations: 6.875 kB / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/1.145, allocations: 3.906 kB / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.765e-05/1.145, allocations: 41.16 kB / 1.358 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.145, allocations: 84.64 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.145, allocations: 0 / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.145, allocations: 3.688 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.145, allocations: 3.844 kB / 1.358 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/1.146, allocations: 338.7 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/1.146, allocations: 51.73 kB / 1.358 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/1.146, allocations: 44.44 kB / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/1.146, allocations: 4 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/1.146, allocations: 90.31 kB / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.146, allocations: 0 / 1.358 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002917/1.146, allocations: 138.7 kB / 1.358 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.146, allocations: 62.72 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/1.147, allocations: 131.4 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.147, allocations: 25.7 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/1.147, allocations: 100.3 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/1.147, allocations: 26.86 kB / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/1.147, allocations: 0 / 1.359 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.147, allocations: 321.9 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/1.147, allocations: 25.81 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/1.147, allocations: 58.28 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/1.147, allocations: 39.69 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.147, allocations: 1.828 kB / 1.359 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001703/1.147, allocations: 117.4 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.147, allocations: 3.844 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.147, allocations: 3.844 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.147, allocations: 0 / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/1.147, allocations: 22.09 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.147, allocations: 12.66 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/1.148, allocations: 15.08 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/1.148, allocations: 7.781 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.195e-05/1.148, allocations: 107.9 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002117/1.148, allocations: 153.2 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/1.148, allocations: 10.94 kB / 1.36 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/1.148, allocations: 15.91 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.148, allocations: 0 / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.148, allocations: 4.016 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.148, allocations: 4.047 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/1.148, allocations: 407.5 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.148, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/1.148, allocations: 10.69 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.148, allocations: 3.844 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.148, allocations: 2.672 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.148, allocations: 7.953 kB / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.148, allocations: 0 / 1.36 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/1.149, allocations: 240.4 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/1.149, allocations: 91.44 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/1.149, allocations: 0 / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.149, allocations: 10.45 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/1.149, allocations: 10.91 kB / 1.36 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.149, allocations: 11.22 kB / 1.36 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.593e-05/1.149, allocations: 99.81 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.149, allocations: 3.938 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003245/1.149, allocations: 57.28 kB / 1.36 GB, free: 31.03 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007313/1.15, allocations: 0.8361 MB / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001527/1.15, allocations: 88.56 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.15, allocations: 0 / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.935e-05/1.15, allocations: 44.44 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/1.151, allocations: 19.69 kB / 1.361 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/1.151, allocations: 187.9 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.151, allocations: 0.6999 MB / 1.362 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.317e-05/1.151, allocations: 7.922 kB / 1.362 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/1.151, allocations: 35.55 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.151, allocations: 0 / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/1.173, allocations: 2.827 MB / 1.365 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.173, allocations: 205.3 kB / 1.365 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.754, allocations: 0 / 1.365 GB, free: 29.08 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat