Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001015/0.001016, allocations: 99.86 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.001015/0.001015, 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.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.344 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.493/2.493, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.8372, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001351/0.8386, allocations: 1.198 MB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.8395, allocations: 0.6739 MB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.8396, allocations: 5.219 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.8396, allocations: 7.922 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.8397, allocations: 10.17 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.8401, allocations: 86.02 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.8401, allocations: 50.95 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.8402, allocations: 9.844 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.8403, allocations: 29.98 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.8404, allocations: 38.5 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.8404, allocations: 2.906 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.8405, allocations: 71.7 kB / 0.9557 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.8406, allocations: 10.48 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.8406, allocations: 38.45 kB / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.8407, allocations: 95.61 kB / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.8408, allocations: 0 / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8408, allocations: 0 / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.8408, allocations: 1.469 kB / 0.9559 GB, free: 6.305 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.0004481/0.8412, allocations: 416.9 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8413, allocations: 13.48 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.8413, allocations: 31.97 kB / 0.9563 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.8413, allocations: 10.61 kB / 0.9563 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.8414, allocations: 171.8 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.8414, allocations: 2.781 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.8415, allocations: 7.422 kB / 0.9565 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.8416, allocations: 73.41 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.8417, allocations: 1.375 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.8417, allocations: 0 / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8417, allocations: 5.016 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.8418, allocations: 41.97 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.8423, allocations: 321.2 kB / 0.9569 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.8424, allocations: 51.69 kB / 0.9569 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.8425, allocations: 5.094 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.8426, allocations: 84.27 kB / 0.957 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.8426, allocations: 3.938 kB / 0.957 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003609/0.843, allocations: 147.7 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.843, allocations: 61.48 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.8431, allocations: 120.9 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.8431, allocations: 30.89 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.8432, allocations: 91.09 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.8432, allocations: 18.55 kB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.8432, allocations: 0 / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.8433, allocations: 320.8 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.8433, allocations: 37.61 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.8434, allocations: 50.12 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.8435, allocations: 31.27 kB / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8435, allocations: 0 / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.8438, allocations: 122.4 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8438, allocations: 5.281 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8438, allocations: 4.922 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.8438, allocations: 1.938 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.8439, allocations: 21.34 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.8439, allocations: 1.422 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.844, allocations: 12.56 kB / 0.9581 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.844, allocations: 7.453 kB / 0.9581 GB, free: 4.188 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 6.26e-05/0.8441, allocations: 122.4 kB / 0.9582 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.8441, allocations: 7.469 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.8441, allocations: 5.438 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8441, allocations: 5.328 kB / 0.9582 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8441, allocations: 1.312 kB / 0.9582 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8441, allocations: 0 / 0.9582 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.8445, allocations: 391.8 kB / 0.9586 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8445, allocations: 0 / 0.9586 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.8446, allocations: 8.203 kB / 0.9586 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8446, allocations: 5.016 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.8446, allocations: 1.125 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8446, allocations: 1.031 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8446, allocations: 4 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.8448, allocations: 219.2 kB / 0.9588 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.179e-05/0.8449, allocations: 82.48 kB / 0.9589 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.8449, allocations: 5.016 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.845, allocations: 8.344 kB / 0.9589 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.845, allocations: 7.078 kB / 0.9589 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.845, allocations: 6 kB / 0.9589 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.8451, allocations: 96.14 kB / 0.959 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8451, allocations: 0 / 0.959 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003005/0.8454, allocations: 40.7 kB / 0.959 GB, free: 3.273 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.0006289/0.846, allocations: 0.8043 MB / 0.9598 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.8463, allocations: 74.77 kB / 0.9599 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8463, allocations: 0 / 0.9599 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.327e-05/0.8464, allocations: 42.77 kB / 0.9599 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.8465, allocations: 7.484 kB / 0.96 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.8471, allocations: 0.7141 MB / 0.9606 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.8472, allocations: 0.6972 MB / 0.9613 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.8473, allocations: 12.66 kB / 0.9613 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.8473, allocations: 17.19 kB / 0.9614 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8473, allocations: 0 / 0.9614 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.8602, allocations: 2.308 MB / 0.9636 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.8604, allocations: 237.3 kB / 0.9638 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.61, allocations: 1.062 kB / 0.9638 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat does not exist to compare? outputFormat=mat