Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 110.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.001208/0.001208, allocations: 189.5 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.323/1.323, 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 9.1.3-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6741, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002137/0.6762, allocations: 1.476 MB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.6773, allocations: 0.7269 MB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.6773, allocations: 5.031 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.6774, allocations: 4.547 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.6774, allocations: 14.19 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.6779, allocations: 118.5 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.678, allocations: 73.08 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.802e-05/0.6781, allocations: 18.73 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.6781, allocations: 40.59 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.6782, allocations: 36.84 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.6782, allocations: 6.156 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.6784, allocations: 94.91 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.6785, allocations: 22.39 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.6785, allocations: 32.78 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.6787, allocations: 137.4 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6788, allocations: 1.828 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6788, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.6788, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 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.0004902/0.6793, allocations: 423.9 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6793, allocations: 9.203 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.6794, allocations: 8.906 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.774e-05/0.6794, allocations: 173.9 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6795, allocations: 7.219 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.6795, allocations: 8.312 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6796, allocations: 76.45 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.6797, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6797, allocations: 8.969 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6797, allocations: 1.578 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.6798, allocations: 35.94 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.6803, allocations: 314.7 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.6804, allocations: 53.47 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.6805, allocations: 32.2 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.6805, allocations: 0.75 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.6807, allocations: 73.14 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.6807, allocations: 0.9688 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003744/0.6811, allocations: 149.8 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.6811, allocations: 53.83 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.6812, allocations: 122.7 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.6812, allocations: 30.64 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.6812, allocations: 92.81 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.6813, allocations: 11.52 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.6813, allocations: 25.27 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.6814, allocations: 324.2 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.6814, allocations: 34.66 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.6815, allocations: 46.53 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.6817, allocations: 80.44 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6817, allocations: 0.8125 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.6819, allocations: 119.9 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.682, allocations: 6.406 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.682, allocations: 1.031 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.682, allocations: 1.406 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.6821, allocations: 15.42 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6821, allocations: 0.9375 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.6822, allocations: 12.7 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.6822, allocations: 4.938 kB / 1.094 GB, free: 1.758 MB / 0.8575 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 5.955e-05/0.6822, allocations: 127.4 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.6823, allocations: 7.5 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.6823, allocations: 6.875 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6823, allocations: 1 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6823, allocations: 0.7031 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.6823, allocations: 79.88 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6823, allocations: 5.578 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.6824, allocations: 8.141 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.6825, allocations: 8.578 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002588/0.6827, allocations: 188.7 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002444/0.683, allocations: 286.6 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.695e-05/0.6831, allocations: 30.89 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.6831, allocations: 99.72 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of Backend: time 2.3e-07/0.6831, allocations: 0 / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005982/0.6837, allocations: 187.8 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002991/0.684, allocations: 0.623 MB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of Templates: time 0.004035/0.6881, allocations: 1.513 MB / 1.097 GB, free: 176 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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