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.001338/0.001338, allocations: 108.9 kB / 16.41 MB, free: 6.051 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.00126/0.00126, allocations: 192.2 kB / 17.34 MB, free: 5.605 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.15 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.672/2.672, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002981/1.032, allocations: 1.486 MB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001446/1.034, allocations: 0.7284 MB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/1.034, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/1.034, allocations: 7.938 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/1.034, allocations: 15.86 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/1.035, allocations: 119.6 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/1.035, allocations: 79.77 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/1.035, allocations: 12 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/1.035, allocations: 39.83 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/1.035, allocations: 39.84 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/1.035, allocations: 8 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/1.035, allocations: 95.84 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/1.035, allocations: 19.97 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/1.035, allocations: 31.8 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/1.036, allocations: 140.1 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.036, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/1.036, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.921e-06/1.036, allocations: 0 / 1.17 GB, free: 1.082 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.00072/1.036, allocations: 432.7 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.036, allocations: 8.031 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/1.036, allocations: 8.891 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.037, allocations: 168.3 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/1.037, allocations: 4.375 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/1.037, allocations: 12.3 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/1.037, allocations: 73.95 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.037, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.037, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/1.037, allocations: 11.94 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/1.037, allocations: 35.97 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00066/1.038, allocations: 312.7 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.038, allocations: 46.5 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/1.038, allocations: 36.97 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/1.038, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/1.038, allocations: 79.38 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 4.608e-06/1.038, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004602/1.039, allocations: 145.5 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.039, allocations: 59.39 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/1.039, allocations: 125.8 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/1.039, allocations: 25.7 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/1.039, allocations: 96.08 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/1.039, allocations: 15.91 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/1.039, allocations: 29.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.039, allocations: 318.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/1.039, allocations: 27.97 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/1.039, allocations: 46.56 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/1.04, allocations: 74.48 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.04, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002719/1.04, allocations: 121.5 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.04, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.04, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.04, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/1.04, allocations: 11.98 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.04, allocations: 400 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/1.04, allocations: 11.94 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/1.04, allocations: 4 kB / 1.172 GB, free: 14.53 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 0.0001214/1.04, allocations: 127.5 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/1.04, allocations: 11.94 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/1.04, allocations: 12.38 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.04, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.04, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.04, allocations: 7.922 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/1.041, allocations: 386.4 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.041, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/1.041, allocations: 8 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.041, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/1.041, allocations: 7.984 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.041, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.041, allocations: 3.938 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/1.041, allocations: 203.5 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/1.041, allocations: 92.98 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.041, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.042, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/1.042, allocations: 11.92 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.042, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.329e-05/1.042, allocations: 91.27 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.042, allocations: 3.938 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003059/1.042, allocations: 35.94 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/1.042, allocations: 163.7 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002471/1.043, allocations: 71.89 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.043, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/1.043, allocations: 31.98 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/1.043, allocations: 13.23 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/1.044, allocations: 192.8 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/1.044, allocations: 0.6923 MB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.597e-05/1.044, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/1.044, allocations: 23.36 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.044, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.004629/1.049, allocations: 1.457 MB / 1.176 GB, free: 10.75 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 -s cvode -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