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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003739, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8608, allocations: 142.3 MB / 0.9538 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001834/0.8627, allocations: 1.213 MB / 0.955 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.8642, allocations: 0.7051 MB / 0.9557 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.8643, allocations: 1.156 kB / 0.9557 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.8643, allocations: 7.938 kB / 0.9557 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.8644, allocations: 18.28 kB / 0.9557 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.8651, allocations: 102.7 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.8652, allocations: 89.22 kB / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.8653, allocations: 13.53 kB / 0.9559 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.8655, allocations: 35.02 kB / 0.956 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.8655, allocations: 55.02 kB / 0.956 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.8656, allocations: 4.562 kB / 0.956 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.8658, allocations: 86.28 kB / 0.9561 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.8658, allocations: 16.14 kB / 0.9561 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.8659, allocations: 40.58 kB / 0.9562 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.8661, allocations: 119.4 kB / 0.9563 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.8661, allocations: 0 / 0.9563 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.195e-06/0.8661, allocations: 0 / 0.9563 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8661, allocations: 1.031 kB / 0.9563 GB, free: 6.414 MB / 0.7169 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.0005786/0.8667, allocations: 447.4 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8667, allocations: 10.5 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.8668, allocations: 35.62 kB / 0.9568 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.8668, allocations: 15.62 kB / 0.9568 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.8669, allocations: 179.2 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.867, allocations: 2.625 kB / 0.9569 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.867, allocations: 13.16 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.8672, allocations: 87.94 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8672, allocations: 0 / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8672, allocations: 1.812 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8673, allocations: 0 / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.8674, allocations: 54.55 kB / 0.9571 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.8681, allocations: 341.3 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.8683, allocations: 60.08 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.8684, allocations: 55.02 kB / 0.9575 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.8684, allocations: 1.062 kB / 0.9575 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.8686, allocations: 97.81 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.8687, allocations: 3.938 kB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000528/0.8692, allocations: 188.6 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.8692, allocations: 53.56 kB / 0.9579 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.8693, allocations: 133.8 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.8694, allocations: 28.23 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.8694, allocations: 98.72 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.8694, allocations: 18.34 kB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.8695, allocations: 0.9062 kB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.8695, allocations: 321.4 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.8696, allocations: 30.33 kB / 0.9585 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.8697, allocations: 74.89 kB / 0.9585 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.8698, allocations: 37.73 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8698, allocations: 1.469 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002385/0.8701, allocations: 133 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8701, allocations: 10.09 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8701, allocations: 5.328 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8701, allocations: 1.531 kB / 0.9587 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.8702, allocations: 19.61 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8702, allocations: 1.219 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.8703, allocations: 18.27 kB / 0.9587 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.8703, allocations: 3.625 kB / 0.9588 GB, free: 4.133 MB / 0.7169 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 7.463e-05/0.8704, allocations: 128.5 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.8704, allocations: 7.625 kB / 0.9589 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.8705, allocations: 14.52 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8705, allocations: 3.953 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8705, allocations: 1.875 kB / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8705, allocations: 0 / 0.9589 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.871, allocations: 430.6 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.871, allocations: 0 / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.871, allocations: 11.44 kB / 0.9593 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.871, allocations: 5.109 kB / 0.9593 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.8711, allocations: 5.203 kB / 0.9593 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8711, allocations: 1.188 kB / 0.9593 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8711, allocations: 0 / 0.9593 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.8714, allocations: 254.9 kB / 0.9596 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.8714, allocations: 84.58 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.8714, allocations: 3.953 kB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.8716, allocations: 13.42 kB / 0.9597 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.8716, allocations: 11.55 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.8716, allocations: 1.812 kB / 0.9597 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.8717, allocations: 94.05 kB / 0.9598 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8717, allocations: 0 / 0.9598 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003216/0.872, allocations: 43.3 kB / 0.9598 GB, free: 3.164 MB / 0.7169 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.0007487/0.8727, allocations: 0.8484 MB / 0.9606 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.873, allocations: 94.89 kB / 0.9607 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.873, allocations: 1.375 kB / 0.9607 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.8732, allocations: 51.41 kB / 0.9608 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8734, allocations: 16.06 kB / 0.9608 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.8744, allocations: 0.6652 MB / 0.9615 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.8746, allocations: 0.6888 MB / 0.9621 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.8747, allocations: 11.83 kB / 0.9621 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.8747, allocations: 23.55 kB / 0.9622 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8747, allocations: 0 / 0.9622 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.8885, allocations: 2.643 MB / 0.9647 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.8888, allocations: 239.1 kB / 0.965 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.8, allocations: 0 / 0.965 GB, free: 15.55 MB / 0.7325 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