Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001622/0.001622, allocations: 108.3 kB / 16.41 MB, free: 6.434 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.001743/0.001743, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6662/0.6675, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002423/0.67, allocations: 1.512 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.6712, allocations: 0.7206 MB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.6712, allocations: 0 / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.6713, allocations: 7.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.6713, allocations: 15.86 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.6719, allocations: 123.6 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.672, allocations: 75.77 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.6721, allocations: 12 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.6722, allocations: 39.83 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.6722, allocations: 39.84 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.6723, allocations: 4 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.6725, allocations: 95.91 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.6725, allocations: 15.98 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.6726, allocations: 39.78 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.6728, allocations: 140 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6728, allocations: 0 / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6728, allocations: 4 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6728, allocations: 0 / 1.17 GB, free: 1.004 MB / 0.8887 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.0005663/0.6734, allocations: 424.7 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6734, allocations: 12.92 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.6735, allocations: 4.891 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.6736, allocations: 172.3 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.6736, allocations: 12.36 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.6736, allocations: 4.375 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.6738, allocations: 73.91 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6739, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.6739, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6739, allocations: 11.92 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.674, allocations: 39.97 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.6746, allocations: 312.7 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.6747, allocations: 50.56 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.6748, allocations: 40.91 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.6749, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.675, allocations: 71.38 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.6751, allocations: 3.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003879/0.6755, allocations: 145.6 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.6755, allocations: 59.41 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.6756, allocations: 117.8 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6756, allocations: 33.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.6757, allocations: 92.08 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.6757, allocations: 11.91 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.6757, allocations: 29.7 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.6758, allocations: 326.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.6759, allocations: 23.98 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.676, allocations: 50.56 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.6762, allocations: 70.48 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6762, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002445/0.6764, allocations: 109.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6765, allocations: 8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6765, allocations: 400 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.6765, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.6766, allocations: 15.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6766, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.6767, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.6767, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 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 8.51e-05/0.6768, allocations: 127.5 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.6768, allocations: 11.94 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.6768, allocations: 8.375 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6769, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6769, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.6769, allocations: 85.06 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6769, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.677, allocations: 19.92 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.677, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002872/0.6773, allocations: 196.9 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002908/0.6776, allocations: 286.7 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.19e-05/0.6777, allocations: 31.97 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.6778, allocations: 91.27 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of Backend: time 2.21e-07/0.6778, allocations: 4 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006278/0.6784, allocations: 189.3 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004125/0.6789, allocations: 0.6175 MB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.003972/0.6828, allocations: 1.502 MB / 1.175 GB, free: 11.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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