Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 113.5 kB / 16.42 MB, free: 6.473 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.001695/0.001695, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 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.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6893/0.6907, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002509/0.6932, allocations: 1.505 MB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.6947, allocations: 0.7284 MB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.6947, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.6948, allocations: 7.938 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.6948, allocations: 15.84 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.6954, allocations: 119.6 kB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.6956, allocations: 83.7 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.6957, allocations: 8 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.6958, allocations: 39.89 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.6959, allocations: 31.84 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.6959, allocations: 12 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.6961, allocations: 99.84 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.6962, allocations: 11.98 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.6962, allocations: 35.78 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.6965, allocations: 143.5 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6965, allocations: 0 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6965, allocations: 0 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.6965, allocations: 0 / 1.17 GB, free: 1.152 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.0006996/0.6972, allocations: 423 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.6973, allocations: 8.031 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.6973, allocations: 8.844 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.6975, allocations: 176.2 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.6975, allocations: 4.375 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.6975, allocations: 4.375 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.6977, allocations: 69.97 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.6977, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6977, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6977, allocations: 4 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6979, allocations: 39.97 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.6985, allocations: 320.6 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.6986, allocations: 42.56 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.6987, allocations: 44.89 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6987, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.6989, allocations: 83.38 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 4.148e-06/0.6989, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000407/0.6993, allocations: 145.5 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.6994, allocations: 55.41 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.6994, allocations: 125.8 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.6995, allocations: 29.69 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.6995, allocations: 88.14 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.6995, allocations: 15.81 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.6996, allocations: 29.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.6997, allocations: 322.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.6998, allocations: 23.98 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.6999, allocations: 46.56 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.7001, allocations: 74.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7001, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002389/0.7003, allocations: 121.5 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.7003, allocations: 6.656 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7003, allocations: 4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.7004, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.7005, allocations: 15.92 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7005, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.7005, allocations: 11.94 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.7006, allocations: 4 kB / 1.172 GB, free: 14.61 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.801e-05/0.7007, allocations: 129.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.7007, allocations: 7.906 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.7007, allocations: 12.38 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7007, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7007, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.7008, allocations: 84.95 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.7008, allocations: 3.984 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.7009, allocations: 7.938 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.7009, allocations: 7.984 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003008/0.7012, allocations: 192.9 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002958/0.7015, allocations: 278.8 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.796e-05/0.7016, allocations: 35.95 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.7017, allocations: 91.94 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Backend: time 6.31e-07/0.7017, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006665/0.7024, allocations: 189.3 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004474/0.7028, allocations: 0.6137 MB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.004136/0.707, allocations: 1.505 MB / 1.175 GB, free: 11.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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