Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_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_10_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.001704/0.001704, allocations: 115.7 kB / 16.42 MB, free: 6.508 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.001951/0.001951, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.14 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.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6854, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002663/0.6881, allocations: 1.482 MB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.6894, allocations: 0.7323 MB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.6895, allocations: 0 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.6895, allocations: 7.875 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-05/0.6896, allocations: 3.938 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.6902, allocations: 127.5 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.6904, allocations: 79.77 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.6905, allocations: 11.98 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.6906, allocations: 35.91 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.6907, allocations: 47.77 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.6907, allocations: 4 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.6909, allocations: 87.92 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.6909, allocations: 19.97 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.691, allocations: 35.8 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.6912, allocations: 143.4 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6913, allocations: 8 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6913, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6913, allocations: 0 / 1.17 GB, free: 1.039 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.0006374/0.6919, allocations: 414.8 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.692, allocations: 12.03 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.692, allocations: 8.844 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.6921, allocations: 172.3 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.6922, allocations: 8.359 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.6922, allocations: 4.375 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.6924, allocations: 73.97 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.6924, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6924, allocations: 4 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6924, allocations: 3.938 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.6926, allocations: 35.97 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.6932, allocations: 320.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6933, allocations: 42.56 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/0.6934, allocations: 32.97 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.6935, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.6936, allocations: 75.31 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.6937, allocations: 8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003893/0.6941, allocations: 149.5 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.6941, allocations: 55.41 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.6942, allocations: 121.7 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6942, allocations: 33.7 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.6943, allocations: 88.12 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6943, allocations: 15.81 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.6944, allocations: 29.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.6945, allocations: 330.7 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.6945, allocations: 23.98 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.6946, allocations: 46.56 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.6948, allocations: 74.55 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6948, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002459/0.6951, allocations: 117.5 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6951, allocations: 6.656 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6951, allocations: 3.938 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6951, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.6952, allocations: 11.98 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6953, allocations: 4.062 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.6953, allocations: 7.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6954, allocations: 8 kB / 1.172 GB, free: 14.5 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 (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 9.366e-05/0.6955, allocations: 125.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.6955, allocations: 7.906 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.6955, allocations: 4.375 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6955, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6955, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.6956, allocations: 104.8 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.6956, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.6957, allocations: 11.92 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.6957, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002826/0.696, allocations: 184.9 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002905/0.6963, allocations: 286.8 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.78e-05/0.6964, allocations: 35.92 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.497e-05/0.6965, allocations: 91.27 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Backend: time 3.8e-07/0.6965, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000662/0.6971, allocations: 184 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004668/0.6976, allocations: 0.6259 MB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.004134/0.7018, allocations: 1.507 MB / 1.175 GB, free: 11.26 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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