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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008895/0.0008896, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006491/0.006491, allocations: 170 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6552, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001564/0.6568, allocations: 1.212 MB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.6579, allocations: 0.7226 MB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.6579, allocations: 0 / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.658, allocations: 3.984 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.658, allocations: 14.14 kB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.6585, allocations: 104.7 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.605e-05/0.6586, allocations: 70.56 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.6587, allocations: 16.59 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.6588, allocations: 29.48 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.6589, allocations: 39.05 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.6589, allocations: 3.094 kB / 0.9573 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.6591, allocations: 89.81 kB / 0.9574 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.6591, allocations: 10.36 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.6592, allocations: 57.89 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.6594, allocations: 139.6 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6594, allocations: 1.031 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6594, allocations: 0 / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6594, allocations: 0 / 0.9576 GB, free: 5.73 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.0004771/0.6599, allocations: 413.1 kB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6599, allocations: 10.34 kB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.66, allocations: 35.72 kB / 0.9581 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.66, allocations: 12.47 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.597e-05/0.6601, allocations: 175.5 kB / 0.9582 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6601, allocations: 3.469 kB / 0.9582 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.6601, allocations: 3.438 kB / 0.9582 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.6603, allocations: 75.66 kB / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6603, allocations: 0 / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6603, allocations: 1.094 kB / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.6603, allocations: 0 / 0.9583 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.6605, allocations: 51.95 kB / 0.9584 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.661, allocations: 324.8 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.6611, allocations: 54.98 kB / 0.9587 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.6612, allocations: 34.56 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.6612, allocations: 1.438 kB / 0.9588 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.6614, allocations: 88.72 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.6614, allocations: 0 / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003624/0.6617, allocations: 140.2 kB / 0.959 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.6618, allocations: 60.81 kB / 0.959 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.6619, allocations: 126.1 kB / 0.9592 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.6619, allocations: 29.7 kB / 0.9592 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.6619, allocations: 87.7 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.6619, allocations: 25.61 kB / 0.9593 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.662, allocations: 17.38 kB / 0.9593 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.662, allocations: 326.4 kB / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.6621, allocations: 24.08 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.6622, allocations: 55.19 kB / 0.9597 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6623, allocations: 79.42 kB / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6623, allocations: 0 / 0.9598 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002193/0.6626, allocations: 119.1 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6626, allocations: 5.5 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6626, allocations: 1.375 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6626, allocations: 1.375 kB / 0.9599 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.6627, allocations: 16.17 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6627, allocations: 1.375 kB / 0.9599 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.6628, allocations: 17.5 kB / 0.9599 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.6628, allocations: 2.75 kB / 0.9599 GB, free: 3.547 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.6629, allocations: 123.3 kB / 0.96 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.6629, allocations: 6.656 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.6629, allocations: 9.75 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6629, allocations: 1.375 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6629, allocations: 1.375 kB / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6629, allocations: 0 / 0.9601 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.6633, allocations: 392.8 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6633, allocations: 0 / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.6633, allocations: 8.109 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.6633, allocations: 1.375 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6633, allocations: 5.375 kB / 0.9605 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.6634, allocations: 3.938 kB / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6634, allocations: 4 kB / 0.9605 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.6636, allocations: 219.8 kB / 0.9607 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.6636, allocations: 86.33 kB / 0.9608 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.6637, allocations: 5.375 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.6638, allocations: 12.06 kB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6638, allocations: 6.734 kB / 0.9608 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.6638, allocations: 2.75 kB / 0.9608 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.6639, allocations: 93.55 kB / 0.9609 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6639, allocations: 0 / 0.9609 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002984/0.6642, allocations: 39.48 kB / 0.9609 GB, free: 2.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006241/0.6648, allocations: 0.8161 MB / 0.9617 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.665, allocations: 79.33 kB / 0.9618 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.665, allocations: 0 / 0.9618 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.6651, allocations: 39.48 kB / 0.9618 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6654, allocations: 11.72 kB / 0.9618 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6666, allocations: 1.515 MB / 0.9633 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.6668, allocations: 0.6879 MB / 0.964 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.6669, allocations: 8.109 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.6669, allocations: 18.19 kB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6669, allocations: 1.375 kB / 0.964 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.6789, allocations: 2.337 MB / 0.9663 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.6792, allocations: 280.8 kB / 0.9666 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.39, allocations: 3.234 kB / 0.9666 GB, free: 14.27 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/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) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed