Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 115 kB / 16.42 MB, free: 6.512 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.00107/0.00107, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6913, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002641/0.694, allocations: 1.508 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.6953, allocations: 0.7284 MB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.6954, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.6954, allocations: 7.938 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.6955, allocations: 15.84 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.6961, allocations: 119.6 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.6963, allocations: 79.78 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.6964, allocations: 11.98 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.6965, allocations: 35.84 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.6966, allocations: 39.84 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.6966, allocations: 8 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.6968, allocations: 87.91 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.6969, allocations: 23.95 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.697, allocations: 39.8 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.6972, allocations: 140 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6972, allocations: 4 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6973, allocations: 0 / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6973, allocations: 0 / 1.17 GB, free: 1.012 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.0006807/0.698, allocations: 416.7 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.698, allocations: 12.03 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.6981, allocations: 8.891 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.6982, allocations: 176.3 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.6982, allocations: 8.375 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.6983, allocations: 4.375 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.6985, allocations: 81.89 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6985, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.6985, allocations: 3.938 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6985, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.6987, allocations: 35.97 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.6993, allocations: 320.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.6994, allocations: 46.55 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.6995, allocations: 36.91 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6996, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.6998, allocations: 75.38 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.6998, allocations: 7.938 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000429/0.7002, allocations: 137.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.7003, allocations: 55.41 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.7004, allocations: 121.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.7004, allocations: 33.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.7004, allocations: 88.09 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.7005, allocations: 19.91 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.7005, allocations: 25.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7006, allocations: 326.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.7007, allocations: 23.98 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.7008, allocations: 50.55 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.701, allocations: 74.5 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.701, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002661/0.7013, allocations: 121.5 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7013, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7013, allocations: 3.984 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.7013, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.7014, allocations: 16.05 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.7015, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.7015, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.7015, allocations: 7.984 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 0.0001074/0.7017, allocations: 126.7 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.7017, allocations: 7.953 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.7017, allocations: 4.375 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7017, allocations: 4 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7017, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.7018, allocations: 89.05 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.7018, allocations: 4 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.7019, allocations: 7.938 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.7019, allocations: 3.984 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003028/0.7022, allocations: 185.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003243/0.7026, allocations: 294.7 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.654e-05/0.7027, allocations: 35.97 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.7027, allocations: 91.27 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Backend: time 3.6e-07/0.7027, allocations: 3.938 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006365/0.7034, allocations: 177.7 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004682/0.7039, allocations: 0.6175 MB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.004145/0.708, allocations: 1.5 MB / 1.175 GB, free: 11.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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