Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001783/0.001784, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 469.4 MB / 0.7428 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6739, allocations: 159.1 MB / 1.221 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002552/0.6765, allocations: 1.484 MB / 1.222 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.6777, allocations: 0.7176 MB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.6778, allocations: 4 kB / 1.223 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.6778, allocations: 3.938 kB / 1.223 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.6779, allocations: 15.86 kB / 1.223 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.6784, allocations: 123.6 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.6786, allocations: 83.69 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.6787, allocations: 11.95 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.6788, allocations: 31.91 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.6788, allocations: 39.83 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.6789, allocations: 8 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.6791, allocations: 103.8 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.6791, allocations: 11.98 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.6791, allocations: 35.8 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.6794, allocations: 143.5 kB / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6794, allocations: 0 / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6794, allocations: 0 / 1.224 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6794, allocations: 0 / 1.224 GB, free: 15.58 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.0005654/0.68, allocations: 418.8 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.68, allocations: 8.031 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.68, allocations: 12.84 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6802, allocations: 180.2 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.6802, allocations: 8.375 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.6802, allocations: 4.375 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.6804, allocations: 65.97 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.6804, allocations: 3.984 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6804, allocations: 8 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6804, allocations: 0 / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.6806, allocations: 43.97 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.6811, allocations: 316.6 kB / 1.225 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.6813, allocations: 54.5 kB / 1.225 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.6813, allocations: 28.97 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.6814, allocations: 16.05 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.6816, allocations: 67.39 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.6816, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003707/0.6819, allocations: 141.6 kB / 1.225 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.682, allocations: 51.41 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.6821, allocations: 121.8 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.6821, allocations: 37.69 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.6821, allocations: 88.14 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6822, allocations: 19.8 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.6822, allocations: 25.7 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.6823, allocations: 322.8 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.6824, allocations: 27.98 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.6825, allocations: 46.56 kB / 1.226 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.6827, allocations: 74.48 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6827, allocations: 0 / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002362/0.6829, allocations: 109.8 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6829, allocations: 12.06 kB / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.683, allocations: 80 / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.683, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.6831, allocations: 15.98 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.6831, allocations: 7.984 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.6832, allocations: 11.88 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6832, allocations: 0 / 1.226 GB, free: 13.04 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 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.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.595e-05/0.6833, allocations: 130.2 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.6833, allocations: 7.906 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.6833, allocations: 12.38 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6833, allocations: 0 / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6833, allocations: 0 / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.6834, allocations: 81.02 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.6834, allocations: 7.984 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.6835, allocations: 7.938 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.6835, allocations: 11.92 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000286/0.6838, allocations: 192.9 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002834/0.6841, allocations: 278.7 kB / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.887e-05/0.6842, allocations: 31.98 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.6843, allocations: 95.92 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of Backend: time 2.81e-07/0.6843, allocations: 0 / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006221/0.6849, allocations: 191.2 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004366/0.6853, allocations: 0.6221 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.003858/0.6892, allocations: 1.512 MB / 1.229 GB, free: 9.789 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time