Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001255/0.001254, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001465/0.001465, allocations: 177.3 kB / 15.94 MB, free: 228 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.466/2.466, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8432, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001939/0.8452, allocations: 1.194 MB / 0.9547 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.8463, allocations: 0.6719 MB / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.8464, allocations: 4 kB / 0.9554 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.8464, allocations: 3.938 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.8465, allocations: 6.234 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.847, allocations: 99.11 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.8471, allocations: 46.58 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8473, allocations: 8.797 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.8474, allocations: 33.84 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.8475, allocations: 31.84 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.8475, allocations: 6.094 kB / 0.9556 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.8477, allocations: 67.05 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.8477, allocations: 10.73 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.8478, allocations: 38.67 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.848, allocations: 95.34 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.848, allocations: 1.25 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.848, allocations: 0 / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.848, allocations: 0 / 0.9558 GB, free: 6.367 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006865/0.8487, allocations: 425.1 kB / 0.9562 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/0.8488, allocations: 9.406 kB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.8489, allocations: 31.72 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.8489, allocations: 12.14 kB / 0.9563 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.849, allocations: 170.4 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.849, allocations: 6.656 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.8491, allocations: 4.156 kB / 0.9565 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8493, allocations: 74.17 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8493, allocations: 0 / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8493, allocations: 5.344 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8493, allocations: 3.953 kB / 0.9565 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.8494, allocations: 46.88 kB / 0.9566 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.85, allocations: 321.1 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.8501, allocations: 59.05 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.8502, allocations: 1.156 kB / 0.957 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.8504, allocations: 86.27 kB / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.8504, allocations: 0 / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004014/0.8508, allocations: 145.5 kB / 0.9572 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.8508, allocations: 62.28 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.8509, allocations: 124.1 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.851, allocations: 26.73 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.851, allocations: 94.45 kB / 0.9575 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.851, allocations: 11.34 kB / 0.9575 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.851, allocations: 4 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.8511, allocations: 325.2 kB / 0.9578 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.8512, allocations: 29.11 kB / 0.9578 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.8513, allocations: 49.83 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.8514, allocations: 32.09 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8514, allocations: 0 / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002291/0.8516, allocations: 118 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8517, allocations: 5.812 kB / 0.958 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.8517, allocations: 5.141 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8517, allocations: 1.281 kB / 0.958 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.8518, allocations: 17.2 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8518, allocations: 1.344 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/0.8519, allocations: 21.73 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.8519, allocations: 2.75 kB / 0.9581 GB, free: 4.246 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.81e-05/0.852, allocations: 120.3 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.852, allocations: 11.14 kB / 0.9582 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.8521, allocations: 9.406 kB / 0.9582 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8521, allocations: 5.109 kB / 0.9582 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8521, allocations: 5.328 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8521, allocations: 7.938 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.8525, allocations: 388.5 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8525, allocations: 0 / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.8525, allocations: 4.125 kB / 0.9586 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.8525, allocations: 5.359 kB / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.8526, allocations: 0 / 0.9586 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8526, allocations: 5.312 kB / 0.9586 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8526, allocations: 3.984 kB / 0.9586 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.8528, allocations: 210.9 kB / 0.9588 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.8529, allocations: 83.55 kB / 0.9589 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.8529, allocations: 9.391 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.853, allocations: 12.48 kB / 0.9589 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.853, allocations: 5.5 kB / 0.9589 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.8531, allocations: 7.047 kB / 0.9589 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.8531, allocations: 91.77 kB / 0.959 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8531, allocations: 0 / 0.959 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000314/0.8534, allocations: 32.75 kB / 0.959 GB, free: 3.336 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007517/0.8542, allocations: 0.8174 MB / 0.9598 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.8545, allocations: 74.44 kB / 0.9599 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8545, allocations: 1.781 kB / 0.9599 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.8546, allocations: 41.72 kB / 0.9599 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.8548, allocations: 11.58 kB / 0.96 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.8557, allocations: 0.7175 MB / 0.9607 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.8559, allocations: 0.6917 MB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.856, allocations: 4.312 kB / 0.9613 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.856, allocations: 22.17 kB / 0.9614 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.856, allocations: 0 / 0.9614 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.8844, allocations: 2.293 MB / 0.9636 GB, free: 12 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/0.8847, allocations: 242.2 kB / 0.9638 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.645, allocations: 0 / 0.9638 GB, free: 15.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat does not exist to compare? outputFormat=mat