Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0068/0.0068, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001479/0.001479, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7347 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 67.89 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9406, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003259/0.9439, allocations: 1.5 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.9455, allocations: 0.7284 MB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.9456, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.9457, allocations: 7.938 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.9458, allocations: 7.875 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.9466, allocations: 119.6 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.9467, allocations: 87.75 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9468, allocations: 15.95 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.9469, allocations: 35.86 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.947, allocations: 43.81 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.9471, allocations: 8 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.9473, allocations: 91.84 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.9473, allocations: 15.98 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.9474, allocations: 31.8 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.9477, allocations: 147.3 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9477, allocations: 4 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9477, allocations: 0 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9477, allocations: 0 / 1.21 GB, free: 10.83 MB / 0.9356 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.0006677/0.9484, allocations: 419 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9484, allocations: 12.03 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.9485, allocations: 8.844 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9486, allocations: 172.3 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.9486, allocations: 384 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.9487, allocations: 8.375 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.9489, allocations: 77.91 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9489, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.9489, allocations: 3.984 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9489, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.9491, allocations: 31.98 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.9497, allocations: 324.7 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.9498, allocations: 42.56 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.9499, allocations: 36.91 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.95, allocations: 0 / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.9502, allocations: 91.38 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.9502, allocations: 0 / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.9506, allocations: 129.5 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.9507, allocations: 63.39 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.9508, allocations: 125.7 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.9508, allocations: 25.7 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.9509, allocations: 92.12 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.9509, allocations: 15.81 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.951, allocations: 29.7 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9511, allocations: 322.8 kB / 1.212 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.9512, allocations: 27.97 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.9513, allocations: 42.56 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.9515, allocations: 86.77 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9515, allocations: 0 / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.9517, allocations: 113.5 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.9517, allocations: 4 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9517, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.9518, allocations: 4 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.9519, allocations: 8.062 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9519, allocations: 11.92 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.952, allocations: 11.94 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.952, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 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 9.87e-05/0.9521, allocations: 121.7 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.9521, allocations: 7.906 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.9522, allocations: 12.36 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9522, allocations: 7.938 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9522, allocations: 4 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.9522, allocations: 0 / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.9526, allocations: 378.5 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.9527, allocations: 0 / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.9527, allocations: 4 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.9527, allocations: 3.984 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.9527, allocations: 11.92 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.9527, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9527, allocations: 3.938 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.953, allocations: 207.4 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.9531, allocations: 85.02 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.9531, allocations: 3.984 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.9532, allocations: 4 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.9532, allocations: 11.92 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.9533, allocations: 4 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.9533, allocations: 95.27 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9533, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002921/0.9536, allocations: 39.94 kB / 1.214 GB, free: 7.195 MB / 0.9356 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.0003507/0.954, allocations: 163 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.9542, allocations: 71.95 kB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9542, allocations: 0 / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.9544, allocations: 40.25 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.9546, allocations: 15.97 kB / 1.214 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.9551, allocations: 176.5 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.9553, allocations: 0.6925 MB / 1.215 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.9554, allocations: 3.984 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.9554, allocations: 15.44 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.9554, allocations: 0 / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.003991/0.9594, allocations: 1.455 MB / 1.216 GB, free: 4.535 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0