Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.348/2.348, allocations: 390.5 MB / 398 MB, free: 10.91 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.001162/0.001162, allocations: 183.8 kB / 491.2 MB, free: 1.582 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.728/1.728, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001002/0.001002, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.894e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.727, allocations: 151.6 MB / 1.36 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.727, allocations: 83.41 kB / 1.361 GB, free: 17.39 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01142/1.739, allocations: 3.254 MB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/1.739, allocations: 0 / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.739, allocations: 0 / 1.364 GB, free: 32.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006228/1.739, allocations: 454.2 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/1.739, allocations: 15.5 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/1.739, allocations: 11.73 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.739, allocations: 165.6 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.74, allocations: 7.781 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/1.74, allocations: 3.844 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001063/1.74, allocations: 29.64 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/1.74, allocations: 75.25 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.74, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.74, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.74, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/1.741, allocations: 328.2 kB / 1.365 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/1.741, allocations: 50.11 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/1.741, allocations: 36.23 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/1.741, allocations: 9.391 kB / 1.365 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/1.741, allocations: 79.31 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.741, allocations: 0.5625 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000345/1.741, allocations: 126.4 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.741, allocations: 56.91 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/1.742, allocations: 115.9 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.742, allocations: 25.7 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/1.742, allocations: 99.94 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/1.742, allocations: 20.69 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/1.742, allocations: 0 / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.742, allocations: 320.6 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/1.742, allocations: 20.05 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/1.742, allocations: 54.05 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/1.742, allocations: 28.86 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.742, allocations: 0 / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001957/1.742, allocations: 105.1 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.742, allocations: 10.75 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.742, allocations: 0 / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.742, allocations: 3.844 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.742, allocations: 19.03 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.742, allocations: 5.266 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/1.742, allocations: 13.14 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/1.742, allocations: 3.844 kB / 1.366 GB, free: 31.17 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 (13): * Single equations (assignments): 13 * 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.332e-05/1.743, allocations: 113.8 kB / 1.366 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002026/1.743, allocations: 122.4 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/1.743, allocations: 9.047 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/1.743, allocations: 13.8 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.743, allocations: 4 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.743, allocations: 7.797 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.743, allocations: 0 / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/1.743, allocations: 376.6 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.743, allocations: 0 / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/1.743, allocations: 6.406 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.743, allocations: 4 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/1.743, allocations: 2.719 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.743, allocations: 7.609 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.743, allocations: 4 kB / 1.367 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/1.744, allocations: 215.3 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/1.744, allocations: 81.02 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/1.744, allocations: 4.688 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.744, allocations: 9.484 kB / 1.367 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/1.744, allocations: 10.5 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.744, allocations: 8.938 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.693e-05/1.744, allocations: 94.59 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.744, allocations: 0 / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003501/1.744, allocations: 50.89 kB / 1.367 GB, free: 30.4 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 (8): * Single equations (assignments): 4 * 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.0008872/1.745, allocations: 0.8306 MB / 1.368 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001741/1.745, allocations: 66.22 kB / 1.368 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.745, allocations: 0 / 1.368 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.253e-05/1.746, allocations: 38.41 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/1.746, allocations: 15.88 kB / 1.368 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005273/1.746, allocations: 174 kB / 1.368 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/1.747, allocations: 0.6904 MB / 1.369 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.541e-05/1.747, allocations: 5.328 kB / 1.369 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/1.747, allocations: 21.11 kB / 1.369 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.747, allocations: 0 / 1.369 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/1.772, allocations: 2.514 MB / 1.371 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.772, allocations: 185.9 kB / 1.371 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.502, allocations: 0 / 1.371 GB, free: 28.5 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat