Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.001236/0.001236, allocations: 100.2 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.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 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.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003681, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7589, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001541/0.7605, allocations: 1.19 MB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.7616, allocations: 0.6748 MB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.7616, allocations: 1.5 kB / 0.9554 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.7617, allocations: 3.938 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.7617, allocations: 13.41 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.7622, allocations: 94.94 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.487e-05/0.7623, allocations: 42.41 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.7624, allocations: 13.97 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.7625, allocations: 37.28 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.7626, allocations: 38.98 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.7626, allocations: 2.375 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.7627, allocations: 63.22 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.7628, allocations: 14.8 kB / 0.9557 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.7628, allocations: 35.33 kB / 0.9558 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.763, allocations: 95.66 kB / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.763, allocations: 0 / 0.9558 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.763, allocations: 4 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.763, allocations: 0 / 0.9559 GB, free: 6.293 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.0005018/0.7635, allocations: 413.9 kB / 0.9562 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.7635, allocations: 9.281 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.7636, allocations: 39.58 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.7636, allocations: 15.48 kB / 0.9563 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.045e-05/0.7637, allocations: 171.6 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.7637, allocations: 5.531 kB / 0.9565 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.7638, allocations: 7.688 kB / 0.9565 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7639, allocations: 67.22 kB / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7639, allocations: 0 / 0.9565 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.764, allocations: 3.984 kB / 0.9566 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.764, allocations: 5.234 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.7641, allocations: 41.58 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.7646, allocations: 330.6 kB / 0.9569 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.7647, allocations: 51 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.7648, allocations: 1.125 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.7649, allocations: 83.58 kB / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7649, allocations: 0 / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.7653, allocations: 148.6 kB / 0.9572 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.7654, allocations: 57.59 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.7655, allocations: 120.6 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.7655, allocations: 26.45 kB / 0.9574 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.7655, allocations: 94.86 kB / 0.9575 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.7656, allocations: 19.14 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.7656, allocations: 4 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.7656, allocations: 317.1 kB / 0.9578 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.7657, allocations: 37 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.7658, allocations: 46.72 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.7659, allocations: 39.28 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7659, allocations: 0 / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.7661, allocations: 119.2 kB / 0.958 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7662, allocations: 9.25 kB / 0.958 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7662, allocations: 3.953 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7662, allocations: 5.062 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.7663, allocations: 18.08 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7663, allocations: 1.406 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.7664, allocations: 13.72 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.7664, allocations: 2.438 kB / 0.9581 GB, free: 4.176 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.085e-05/0.7665, allocations: 114.2 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.7665, allocations: 11.45 kB / 0.9582 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.7665, allocations: 13.69 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7665, allocations: 4.891 kB / 0.9582 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7665, allocations: 5.125 kB / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7665, allocations: 0 / 0.9582 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.7669, allocations: 379.8 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7669, allocations: 1.031 kB / 0.9586 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.7669, allocations: 8.438 kB / 0.9586 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.767, allocations: 3.953 kB / 0.9586 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.767, allocations: 8.953 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.767, allocations: 0.9688 kB / 0.9586 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.767, allocations: 3.984 kB / 0.9586 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.7672, allocations: 211.3 kB / 0.9588 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.7673, allocations: 86.5 kB / 0.9589 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.7673, allocations: 5.609 kB / 0.9589 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.7674, allocations: 13.22 kB / 0.9589 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.7674, allocations: 5.859 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.7674, allocations: 1.781 kB / 0.9589 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.7675, allocations: 96.95 kB / 0.959 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7675, allocations: 0 / 0.959 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002841/0.7678, allocations: 31.19 kB / 0.959 GB, free: 3.27 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.0006482/0.7684, allocations: 0.8189 MB / 0.9598 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.7686, allocations: 82.62 kB / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7687, allocations: 0 / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.7687, allocations: 35.27 kB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.7689, allocations: 11.09 kB / 0.96 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.7695, allocations: 0.7202 MB / 0.9607 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.7696, allocations: 0.6904 MB / 0.9613 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.7697, allocations: 2.938 kB / 0.9613 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.7697, allocations: 23.55 kB / 0.9614 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7697, allocations: 0 / 0.9614 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.7824, allocations: 2.312 MB / 0.9636 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.7826, allocations: 234 kB / 0.9638 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.577, allocations: 5.25 kB / 0.9638 GB, free: 15.71 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat does not exist to compare? outputFormat=mat