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.001111/0.001111, allocations: 115.2 kB / 16.42 MB, free: 6.504 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.001047/0.001047, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.386/2.386, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 55.91 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6744, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002538/0.677, allocations: 1.5 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.6782, allocations: 0.7245 MB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.6783, allocations: 4 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.6784, allocations: 7.922 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.6784, allocations: 7.875 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.6791, allocations: 123.6 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.6792, allocations: 79.77 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.6793, allocations: 15.98 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.6794, allocations: 31.86 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.6795, allocations: 43.81 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.6795, allocations: 8 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.6797, allocations: 91.91 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.6798, allocations: 15.98 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.6798, allocations: 35.8 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.6801, allocations: 151.2 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6801, allocations: 0 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6802, allocations: 0 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.6802, allocations: 0 / 1.17 GB, free: 1.055 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.0006541/0.6808, allocations: 415 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.6809, allocations: 12.91 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6809, allocations: 8.844 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.681, allocations: 176.2 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.6811, allocations: 4.375 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.6811, allocations: 4.375 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6813, allocations: 77.91 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6813, allocations: 0 / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6813, allocations: 3.938 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6813, allocations: 0 / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.6815, allocations: 35.97 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.6821, allocations: 332.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.6822, allocations: 42.56 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.6823, allocations: 36.91 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6824, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6825, allocations: 87.31 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.6825, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003967/0.6829, allocations: 129.5 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.683, allocations: 55.41 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6831, allocations: 129.7 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.6832, allocations: 29.64 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.6832, allocations: 88.14 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.6833, allocations: 23.86 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.6833, allocations: 29.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6834, allocations: 322.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.6835, allocations: 23.98 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.6836, allocations: 46.55 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6838, allocations: 82.78 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6838, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.684, allocations: 109.5 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.684, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6841, allocations: 3.984 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6841, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.6842, allocations: 12.06 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6842, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.6843, allocations: 15.92 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6843, allocations: 4 kB / 1.172 GB, free: 14.51 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.57e-05/0.6844, allocations: 119.2 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.6844, allocations: 11.84 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.6845, allocations: 12.36 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6845, allocations: 7.938 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6845, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.6845, allocations: 85.02 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6846, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.6846, allocations: 7.938 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.6847, allocations: 7.984 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002893/0.685, allocations: 188.9 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002898/0.6853, allocations: 286.7 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.877e-05/0.6854, allocations: 27.98 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.6854, allocations: 91.27 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of Backend: time 3.2e-07/0.6855, allocations: 7.938 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.6861, allocations: 185.2 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004612/0.6866, allocations: 0.6235 MB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.004008/0.6906, allocations: 1.505 MB / 1.175 GB, free: 11.29 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