Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.256/2.256, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001268/0.001268, allocations: 180 kB / 0.4901 GB, free: 2.25 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.553/1.553, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001008/0.001008, allocations: 94.84 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 6.938 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.5505, allocations: 152.3 MB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5509, allocations: 79.95 kB / 1.378 GB, free: 1.121 MB / 0.8698 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.01055/0.5615, allocations: 3.292 MB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.093e-06/0.5615, allocations: 0 / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5615, allocations: 0 / 1.381 GB, free: 13.82 MB / 0.8855 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.000615/0.5621, allocations: 466.4 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5622, allocations: 12.56 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.5622, allocations: 30.56 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.5623, allocations: 11.86 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.5624, allocations: 167 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.5625, allocations: 11.98 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.5625, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.5627, allocations: 97.52 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5627, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5628, allocations: 3.984 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5628, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.563, allocations: 51.97 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.5637, allocations: 348.6 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.5639, allocations: 54.56 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.564, allocations: 7.984 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.5642, allocations: 99.5 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.5642, allocations: 0 / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.5647, allocations: 197.5 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5648, allocations: 51.41 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.5649, allocations: 117 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5649, allocations: 25.7 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.565, allocations: 92.14 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.565, allocations: 31.62 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.565, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5651, allocations: 322.8 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.5652, allocations: 31.97 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.5654, allocations: 66.91 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.5655, allocations: 43.92 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5655, allocations: 4 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002695/0.5658, allocations: 129.5 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5658, allocations: 8.094 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5658, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5658, allocations: 7.938 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.566, allocations: 23.92 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.566, allocations: 3.953 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.5661, allocations: 8 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5661, allocations: 4 kB / 1.384 GB, free: 11.09 MB / 0.8855 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 () * Number of clocked 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.0001017/0.5662, allocations: 129.8 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.5662, allocations: 7.906 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.5662, allocations: 4.375 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5662, allocations: 4 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5663, allocations: 0 / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.5663, allocations: 7.984 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.5669, allocations: 434.5 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5669, allocations: 0 / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.5669, allocations: 11.98 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5669, allocations: 0 / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.567, allocations: 4 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.567, allocations: 7.891 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.567, allocations: 0 / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.5674, allocations: 259.8 kB / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.5674, allocations: 81.02 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.5675, allocations: 4 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5676, allocations: 4 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.5676, allocations: 15.94 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5676, allocations: 3.984 kB / 1.385 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.5677, allocations: 99.27 kB / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5677, allocations: 0 / 1.385 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003072/0.568, allocations: 55.88 kB / 1.385 GB, free: 9.879 MB / 0.8855 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) * Number of clocked states: 0 () * 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.000943/0.569, allocations: 0.8447 MB / 1.386 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.5693, allocations: 99.94 kB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5693, allocations: 0 / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.5695, allocations: 47.97 kB / 1.386 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.5697, allocations: 16.58 kB / 1.386 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.5706, allocations: 1.067 MB / 1.387 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5709, allocations: 0.6887 MB / 1.387 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.571, allocations: 7.984 kB / 1.387 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.5711, allocations: 23.44 kB / 1.388 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5711, allocations: 0 / 1.388 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.5868, allocations: 2.832 MB / 1.39 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.587, allocations: 235.9 kB / 1.391 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.254, allocations: 4.062 kB / 1.391 GB, free: 4.09 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat