Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001364/0.001365, allocations: 99.7 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.001589/0.001589, 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.444/2.444, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.7985, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001407/0.7999, allocations: 1.195 MB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.801, allocations: 0.6787 MB / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.801, allocations: 0 / 0.9554 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.801, allocations: 3.938 kB / 0.9554 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.8011, allocations: 10.03 kB / 0.9554 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.8016, allocations: 94.83 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.8017, allocations: 46.64 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.8018, allocations: 5.219 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.8019, allocations: 33.86 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.802, allocations: 42.31 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.802, allocations: 4.062 kB / 0.9556 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.8022, allocations: 62.22 kB / 0.9557 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.8022, allocations: 14.55 kB / 0.9557 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.8022, allocations: 38.91 kB / 0.9558 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.8024, allocations: 92.14 kB / 0.9558 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.8024, allocations: 0 / 0.9558 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8024, allocations: 0 / 0.9558 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8024, allocations: 0 / 0.9558 GB, free: 6.285 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.0005046/0.8029, allocations: 421.7 kB / 0.9562 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.803, allocations: 10.44 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.803, allocations: 34.55 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.803, allocations: 12.55 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.8031, allocations: 169.8 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.8032, allocations: 7.094 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.8032, allocations: 3.656 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8034, allocations: 69.72 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.8034, allocations: 1.125 kB / 0.9565 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8034, allocations: 7.984 kB / 0.9565 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8034, allocations: 5.047 kB / 0.9566 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.8035, allocations: 38.33 kB / 0.9566 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.8041, allocations: 330.4 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8042, allocations: 50.44 kB / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.8043, allocations: 5.281 kB / 0.957 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.8044, allocations: 79.05 kB / 0.957 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.8044, allocations: 1.094 kB / 0.957 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003813/0.8048, allocations: 152.1 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.8049, allocations: 53.56 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.805, allocations: 119.8 kB / 0.9573 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.805, allocations: 30.7 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.805, allocations: 87.61 kB / 0.9575 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.805, allocations: 21.98 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.8051, allocations: 1.062 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.8051, allocations: 321.1 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.8052, allocations: 36.84 kB / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.8053, allocations: 50.5 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.8054, allocations: 42.92 kB / 0.9579 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8054, allocations: 5.312 kB / 0.9579 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002335/0.8056, allocations: 113.5 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8056, allocations: 7.188 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8056, allocations: 3.953 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.8057, allocations: 1.281 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.8058, allocations: 17.73 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8058, allocations: 5.406 kB / 0.9581 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.8058, allocations: 9.312 kB / 0.9581 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.8059, allocations: 2.75 kB / 0.9581 GB, free: 4.168 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.266e-05/0.8059, allocations: 119.2 kB / 0.9582 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.8059, allocations: 11.8 kB / 0.9582 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.806, allocations: 13.73 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.806, allocations: 3.953 kB / 0.9582 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.806, allocations: 4.875 kB / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.806, allocations: 0 / 0.9582 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.8063, allocations: 384.4 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8063, allocations: 0 / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.8064, allocations: 5.5 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8064, allocations: 3.953 kB / 0.9586 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.8064, allocations: 13.42 kB / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8064, allocations: 3.938 kB / 0.9586 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8064, allocations: 1.25 kB / 0.9586 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.8067, allocations: 202.4 kB / 0.9588 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.8067, allocations: 86.44 kB / 0.9589 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.8067, allocations: 13.48 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.8068, allocations: 4.562 kB / 0.9589 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.8069, allocations: 7.047 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.8069, allocations: 1.156 kB / 0.9589 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.8069, allocations: 95.8 kB / 0.959 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8069, allocations: 2.094 kB / 0.959 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002931/0.8072, allocations: 31.41 kB / 0.959 GB, free: 3.262 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.0006702/0.8079, allocations: 0.8158 MB / 0.9598 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.8081, allocations: 87.59 kB / 0.9599 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8082, allocations: 0 / 0.9599 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.8083, allocations: 35.67 kB / 0.9599 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.8084, allocations: 10.86 kB / 0.96 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.8091, allocations: 0.7196 MB / 0.9607 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.8093, allocations: 0.6904 MB / 0.9613 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.8093, allocations: 2.938 kB / 0.9613 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.8094, allocations: 23.55 kB / 0.9614 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8094, allocations: 0 / 0.9614 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.8223, allocations: 2.31 MB / 0.9636 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.8226, allocations: 245.8 kB / 0.9639 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.551, allocations: 0 / 0.9639 GB, free: 15.68 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat