Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Herkel2008WindowsSmall,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.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_latest_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.001492/0.001492, allocations: 112.7 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.001671/0.001671, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 68.11 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6678/0.6691, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002348/0.6714, allocations: 1.501 MB / 1.222 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.6726, allocations: 0.7176 MB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.6726, allocations: 0 / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.6727, allocations: 7.922 kB / 1.223 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.005e-05/0.6727, allocations: 19.86 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.6733, allocations: 123.6 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.6734, allocations: 75.72 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.6735, allocations: 15.94 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.6736, allocations: 39.91 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.6736, allocations: 39.83 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.6737, allocations: 8 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.6738, allocations: 95.84 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.6739, allocations: 15.98 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.6739, allocations: 35.78 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.6741, allocations: 139.3 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6742, allocations: 4 kB / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6742, allocations: 0 / 1.224 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.6742, allocations: 4 kB / 1.224 GB, free: 15.52 MB / 0.9512 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.0005656/0.6747, allocations: 415 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6748, allocations: 12.02 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.6748, allocations: 8.844 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.6749, allocations: 172.2 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.675, allocations: 4.375 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.675, allocations: 12.31 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.6752, allocations: 69.95 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6752, allocations: 4 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6752, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6752, allocations: 4 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.6754, allocations: 39.97 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.6759, allocations: 324.6 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.6761, allocations: 50.5 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.6762, allocations: 40.95 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.6762, allocations: 0 / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.6764, allocations: 75.38 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6764, allocations: 3.938 kB / 1.225 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000378/0.6768, allocations: 137.6 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.6768, allocations: 59.47 kB / 1.225 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.6769, allocations: 125.7 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6769, allocations: 29.7 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.677, allocations: 88.14 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.677, allocations: 15.8 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.6771, allocations: 25.72 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.6772, allocations: 326.8 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.6773, allocations: 19.98 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.6774, allocations: 58.55 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.6775, allocations: 70.48 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6775, allocations: 4 kB / 1.226 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000229/0.6778, allocations: 105.5 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6778, allocations: 8 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6778, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6778, allocations: 3.984 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.6779, allocations: 8 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.6779, allocations: 4 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.678, allocations: 15.92 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.678, allocations: 4 kB / 1.226 GB, free: 12.98 MB / 0.9512 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.299e-05/0.6781, allocations: 126.3 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6781, allocations: 7.906 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.6782, allocations: 8.375 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6782, allocations: 3.984 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6782, allocations: 3.938 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.6782, allocations: 85.02 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.6782, allocations: 0 / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.6783, allocations: 7.938 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.6784, allocations: 7.984 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002832/0.6786, allocations: 196.8 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000284/0.6789, allocations: 283.1 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.014e-05/0.679, allocations: 32.05 kB / 1.227 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.6791, allocations: 91.27 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/0.6791, allocations: 0 / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006383/0.6798, allocations: 195.8 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004679/0.6802, allocations: 0.6138 MB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.003866/0.6841, allocations: 1.508 MB / 1.229 GB, free: 9.746 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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