Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 387.1 MB / 399.7 MB, free: 9.555 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.001545/0.001546, allocations: 186.4 kB / 492.3 MB, free: 0.6367 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.805/1.805, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009899/0.0009899, allocations: 91.25 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.987e-05/4.998e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4032, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.687, allocations: 151.5 MB / 1.36 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.688, allocations: 79.98 kB / 1.36 GB, free: 19 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.01226/1.7, allocations: 3.275 MB / 1.364 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.635e-06/1.7, allocations: 0 / 1.364 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.518e-05/1.7, allocations: 3.875 kB / 1.364 GB, free: 34.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008234/1.701, allocations: 450.6 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/1.701, allocations: 7.719 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.376e-05/1.701, allocations: 39.78 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/1.701, allocations: 7.812 kB / 1.364 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.701, allocations: 179 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.701, allocations: 3.906 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/1.701, allocations: 8.188 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/1.702, allocations: 72.17 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.702, allocations: 0 / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.702, allocations: 7.844 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.702, allocations: 0 / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/1.702, allocations: 33.53 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/1.703, allocations: 350.4 kB / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/1.703, allocations: 53.16 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/1.703, allocations: 33.48 kB / 1.365 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.703, allocations: 11.78 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/1.703, allocations: 86.12 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.505e-06/1.703, allocations: 0 / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003378/1.703, allocations: 130.1 kB / 1.365 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.703, allocations: 58.16 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.704, allocations: 114.6 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/1.704, allocations: 25.7 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/1.704, allocations: 97.7 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/1.704, allocations: 18.72 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/1.704, allocations: 3.688 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.704, allocations: 320.6 kB / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/1.704, allocations: 21.33 kB / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/1.704, allocations: 55.55 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/1.704, allocations: 34.44 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.704, allocations: 0 / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002209/1.704, allocations: 118.9 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.704, allocations: 3.844 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.704, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.704, allocations: 3.688 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/1.705, allocations: 21.27 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/1.705, allocations: 3.953 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/1.705, allocations: 10.69 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/1.705, allocations: 3.688 kB / 1.366 GB, free: 32.7 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 0.0001139/1.705, allocations: 120.5 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/1.705, allocations: 7.594 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/1.705, allocations: 7.938 kB / 1.366 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.705, allocations: 7.688 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.705, allocations: 2.953 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.705, allocations: 3.953 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/1.705, allocations: 410.3 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.705, allocations: 4.75 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/1.705, allocations: 3.844 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/1.706, allocations: 0 / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/1.706, allocations: 2.625 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.706, allocations: 7.891 kB / 1.367 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.706, allocations: 4 kB / 1.367 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/1.706, allocations: 226 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/1.706, allocations: 85.02 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/1.706, allocations: 2.859 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.706, allocations: 14.36 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/1.706, allocations: 7.828 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.706, allocations: 2.906 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.304e-05/1.706, allocations: 103.9 kB / 1.367 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.706, allocations: 3.938 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003892/1.707, allocations: 53.38 kB / 1.367 GB, free: 31.93 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.0009638/1.708, allocations: 0.8267 MB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002039/1.708, allocations: 74.27 kB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.708, allocations: 0 / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.098e-05/1.708, allocations: 43.12 kB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/1.708, allocations: 11.8 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/1.709, allocations: 176.4 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/1.709, allocations: 0.6913 MB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.283e-05/1.709, allocations: 3.906 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/1.709, allocations: 20.31 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/1.709, allocations: 0 / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/1.727, allocations: 2.842 MB / 1.372 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/1.727, allocations: 199 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.457, allocations: 3.938 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat