Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.359/2.359, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001236/0.001236, allocations: 180.8 kB / 492.3 MB, free: 0.6094 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.87/1.87, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001027/0.001027, allocations: 86.83 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.19e-05/5.192e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.735, allocations: 151.4 MB / 1.36 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.735, allocations: 87.48 kB / 1.36 GB, free: 18.85 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.01195/1.747, allocations: 3.255 MB / 1.364 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.747, allocations: 0 / 1.364 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.747, allocations: 3.812 kB / 1.364 GB, free: 34.39 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.0008279/1.748, allocations: 446.9 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.748, allocations: 9.188 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.413e-05/1.748, allocations: 42.8 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/1.748, allocations: 7.75 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.748, allocations: 176.8 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.748, allocations: 7.5 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.748, allocations: 3.875 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/1.749, allocations: 76.45 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/1.749, allocations: 0 / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.749, allocations: 10.56 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.749, allocations: 0 / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/1.749, allocations: 33.06 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/1.75, allocations: 350.3 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/1.75, allocations: 52.2 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/1.75, allocations: 37.19 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/1.75, allocations: 0 / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/1.75, allocations: 92.98 kB / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/1.75, allocations: 0 / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003271/1.75, allocations: 131.8 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.75, allocations: 51.41 kB / 1.365 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/1.751, allocations: 118.6 kB / 1.365 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/1.751, allocations: 28.83 kB / 1.365 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/1.751, allocations: 96.95 kB / 1.365 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/1.751, allocations: 25.64 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/1.751, allocations: 3.188 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.751, allocations: 316.6 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/1.751, allocations: 21.78 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/1.751, allocations: 56.81 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/1.751, allocations: 35.77 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.751, allocations: 0 / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00019/1.751, allocations: 114.8 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.751, allocations: 7.672 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.751, allocations: 3.844 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.751, allocations: 0 / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.752, allocations: 21.64 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.752, allocations: 7.828 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/1.752, allocations: 6.875 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/1.752, allocations: 3.5 kB / 1.366 GB, free: 32.55 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.0001015/1.752, allocations: 118.5 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/1.752, allocations: 7.656 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/1.752, allocations: 14.34 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.752, allocations: 4 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.752, allocations: 0 / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.752, allocations: 3.953 kB / 1.366 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/1.752, allocations: 406 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.752, allocations: 2.859 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/1.752, allocations: 3.812 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.752, allocations: 0 / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.752, allocations: 6.797 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.752, allocations: 11.73 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.752, allocations: 4 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/1.753, allocations: 220.7 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/1.753, allocations: 82.58 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/1.753, allocations: 7.812 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/1.753, allocations: 10.64 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/1.753, allocations: 9.438 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/1.753, allocations: 2.906 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.733e-05/1.753, allocations: 105.9 kB / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.753, allocations: 0 / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004205/1.754, allocations: 52.25 kB / 1.367 GB, free: 31.77 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.00106/1.755, allocations: 0.8331 MB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002237/1.755, allocations: 73.06 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.755, allocations: 0 / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/1.755, allocations: 43.56 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/1.755, allocations: 11.78 kB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/1.756, allocations: 170.7 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/1.756, allocations: 0.6997 MB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.001e-05/1.756, allocations: 3.844 kB / 1.369 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/1.757, allocations: 19.5 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/1.757, allocations: 3.812 kB / 1.369 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/1.775, allocations: 2.821 MB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.775, allocations: 204.4 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/3.545, allocations: 3.938 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat