Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.001118/0.001118, allocations: 99.55 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.001205/0.001205, 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.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.25 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.601/2.601, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7719, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001268/0.7733, allocations: 1.19 MB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.7741, allocations: 0.6788 MB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.7742, allocations: 1.406 kB / 0.9554 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.7742, allocations: 3.938 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.7742, allocations: 13.31 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.7746, allocations: 94.58 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.7747, allocations: 42.78 kB / 0.9556 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.7748, allocations: 17.67 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.7749, allocations: 28.72 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.7749, allocations: 31.38 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.775, allocations: 4.5 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.7751, allocations: 69.89 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.7751, allocations: 14.92 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.7752, allocations: 30.39 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.7753, allocations: 100.2 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.7753, allocations: 0 / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7753, allocations: 4 kB / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7753, allocations: 0 / 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.0004549/0.7758, allocations: 416 kB / 0.9562 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.7758, allocations: 8.719 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.7759, allocations: 36.81 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.7759, allocations: 10.89 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.776, allocations: 171.3 kB / 0.9565 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.776, allocations: 6.062 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.776, allocations: 3.344 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.7762, allocations: 79.25 kB / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7762, allocations: 0 / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7762, allocations: 0 / 0.9565 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7762, allocations: 4.922 kB / 0.9566 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.7764, allocations: 46.12 kB / 0.9566 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.7769, allocations: 322.6 kB / 0.9569 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.777, allocations: 51 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.777, allocations: 0.9688 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.7772, allocations: 83.11 kB / 0.957 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7772, allocations: 1.125 kB / 0.957 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003661/0.7776, allocations: 155.8 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.7776, allocations: 53.62 kB / 0.9572 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.7777, allocations: 124.5 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.7777, allocations: 27.11 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.7778, allocations: 93.72 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.7778, allocations: 14.53 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.7778, allocations: 9.062 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.7779, allocations: 325.3 kB / 0.9578 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.778, allocations: 28.45 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/0.778, allocations: 50.39 kB / 0.9579 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.7781, allocations: 32.09 kB / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7781, allocations: 0 / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002188/0.7784, allocations: 125.5 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.7784, allocations: 6.5 kB / 0.958 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7784, allocations: 3.953 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7784, allocations: 3.094 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7785, allocations: 16.17 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7785, allocations: 1.094 kB / 0.9581 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.7786, allocations: 9.344 kB / 0.9581 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.7786, allocations: 10.98 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.539e-05/0.7787, allocations: 115.2 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.7787, allocations: 6.281 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.7788, allocations: 10.59 kB / 0.9582 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7788, allocations: 13.11 kB / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7788, allocations: 0 / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7788, allocations: 0 / 0.9582 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.7791, allocations: 379.9 kB / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7791, allocations: 1.938 kB / 0.9586 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.7792, allocations: 7.734 kB / 0.9586 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7792, allocations: 7.953 kB / 0.9586 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.7792, allocations: 1.812 kB / 0.9586 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7792, allocations: 0 / 0.9586 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7792, allocations: 5.875 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.7795, allocations: 213.5 kB / 0.9588 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.7795, allocations: 87.73 kB / 0.9589 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.7795, allocations: 3.953 kB / 0.9589 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.7796, allocations: 12.17 kB / 0.9589 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.7796, allocations: 11.17 kB / 0.9589 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.7797, allocations: 2.719 kB / 0.9589 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.7797, allocations: 91.11 kB / 0.959 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7797, allocations: 0 / 0.959 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003024/0.78, allocations: 36.86 kB / 0.959 GB, free: 3.281 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.00061/0.7806, allocations: 0.8167 MB / 0.9598 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.7809, allocations: 79.55 kB / 0.9599 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7809, allocations: 0 / 0.9599 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.781, allocations: 37.97 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.0001706/0.7811, allocations: 14.81 kB / 0.96 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.7817, allocations: 0.7171 MB / 0.9607 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.7819, allocations: 0.6891 MB / 0.9613 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.7819, allocations: 8.297 kB / 0.9613 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.7819, allocations: 18.19 kB / 0.9614 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7819, allocations: 0 / 0.9614 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.7938, allocations: 2.309 MB / 0.9636 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.7941, allocations: 254.3 kB / 0.9639 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.62, allocations: 5.875 kB / 0.9639 GB, free: 15.63 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat does not exist to compare? outputFormat=mat