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.0008228/0.000823, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001065/0.001065, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.297 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.484/2.484, allocations: 390.4 MB / 0.6655 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 12 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7698, allocations: 142.3 MB / 0.9538 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001344/0.7712, allocations: 1.202 MB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.7722, allocations: 0.6695 MB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.7723, allocations: 1.281 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.7723, allocations: 7.938 kB / 0.9557 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.7724, allocations: 13.05 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.7729, allocations: 101.2 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.773, allocations: 65.48 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7731, allocations: 8.844 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.7732, allocations: 30.19 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.7733, allocations: 35.3 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.7733, allocations: 2.125 kB / 0.9559 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.7735, allocations: 89.62 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.7736, allocations: 13.92 kB / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.7736, allocations: 34.58 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.7738, allocations: 100.1 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7739, allocations: 0 / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.427e-06/0.7739, allocations: 4.938 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7739, allocations: 0 / 0.9562 GB, free: 6.328 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.0006748/0.7746, allocations: 413.2 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.7746, allocations: 9.844 kB / 0.9566 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.7747, allocations: 31.5 kB / 0.9566 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.7747, allocations: 12.02 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.7748, allocations: 166.3 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.7749, allocations: 15.02 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.7749, allocations: 3.75 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.7751, allocations: 69.97 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7751, allocations: 1.438 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7751, allocations: 3.984 kB / 0.9568 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.7752, allocations: 5.078 kB / 0.9569 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.7753, allocations: 45.28 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.7759, allocations: 326.6 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.7761, allocations: 50.19 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.7762, allocations: 39.09 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.7762, allocations: 5.188 kB / 0.9573 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.7764, allocations: 79.45 kB / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7764, allocations: 0 / 0.9574 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004214/0.7768, allocations: 155.9 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.7769, allocations: 57.91 kB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.777, allocations: 117 kB / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.777, allocations: 31.14 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.7771, allocations: 91 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.7771, allocations: 14.47 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.7771, allocations: 0 / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.7772, allocations: 326 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.7773, allocations: 24.14 kB / 0.9582 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.7773, allocations: 54.72 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.7774, allocations: 39.62 kB / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7775, allocations: 0 / 0.9582 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.7777, allocations: 115.2 kB / 0.9584 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7777, allocations: 8.547 kB / 0.9584 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.7778, allocations: 5.406 kB / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7778, allocations: 1.656 kB / 0.9584 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.7779, allocations: 20.11 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7779, allocations: 1.906 kB / 0.9584 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.778, allocations: 8.531 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.778, allocations: 7.547 kB / 0.9584 GB, free: 4.199 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 8.343e-05/0.7781, allocations: 118.8 kB / 0.9585 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.7781, allocations: 7.844 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.7781, allocations: 18.2 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7781, allocations: 0 / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7781, allocations: 4 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7782, allocations: 2.125 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.7785, allocations: 382.8 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7785, allocations: 0 / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.7786, allocations: 13.25 kB / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7786, allocations: 0 / 0.9589 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.7786, allocations: 9.5 kB / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.7786, allocations: 480 / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7786, allocations: 0 / 0.9589 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.7789, allocations: 215.2 kB / 0.9591 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.779, allocations: 82.7 kB / 0.9592 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.779, allocations: 13.64 kB / 0.9592 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.7791, allocations: 7.484 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.7791, allocations: 2.906 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.7791, allocations: 2.438 kB / 0.9592 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.7792, allocations: 92.08 kB / 0.9593 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7792, allocations: 0 / 0.9593 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002929/0.7795, allocations: 40.95 kB / 0.9594 GB, free: 3.289 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.0007097/0.7802, allocations: 0.8192 MB / 0.9602 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.7805, allocations: 78.64 kB / 0.9602 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7805, allocations: 0 / 0.9602 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.7806, allocations: 35.36 kB / 0.9603 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.7808, allocations: 20.69 kB / 0.9603 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.7818, allocations: 0.5963 MB / 0.9609 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.7819, allocations: 0.6878 MB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.7819, allocations: 4.219 kB / 0.9616 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.782, allocations: 22.11 kB / 0.9616 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.782, allocations: 4 kB / 0.9616 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.7949, allocations: 2.33 MB / 0.9639 GB, free: 200 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.7952, allocations: 267.1 kB / 0.9641 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.683, allocations: 0 / 0.9641 GB, free: 15.86 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