Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_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_latest_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.006932/0.006932, allocations: 104 kB / 15.73 MB, free: 5.949 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.001261/0.001262, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 71.89 kB / 1.054 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.898, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002621/0.9006, allocations: 1.475 MB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.9019, allocations: 0.7284 MB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.9019, allocations: 4 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.902, allocations: 3.938 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.9021, allocations: 11.86 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.9027, allocations: 119.6 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.9028, allocations: 75.77 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.9029, allocations: 15.95 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.903, allocations: 39.83 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.9031, allocations: 39.84 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.9031, allocations: 11.94 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.9033, allocations: 95.84 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.9034, allocations: 15.97 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.9034, allocations: 35.8 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.9037, allocations: 143.5 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9037, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9037, allocations: 4 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9037, allocations: 0 / 1.21 GB, free: 10.83 MB / 0.9356 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.000611/0.9043, allocations: 414.8 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.9044, allocations: 8.031 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.9044, allocations: 8.844 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.9045, allocations: 172.3 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.9046, allocations: 8.375 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.9046, allocations: 12.3 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.9048, allocations: 73.95 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9048, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9048, allocations: 8 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9048, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.905, allocations: 35.97 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.9055, allocations: 316.7 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.9057, allocations: 50.5 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.9058, allocations: 32.95 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9058, allocations: 4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.906, allocations: 75.36 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.906, allocations: 7.938 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003832/0.9064, allocations: 145.5 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.9064, allocations: 51.41 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.9065, allocations: 129.7 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.9066, allocations: 29.7 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.9066, allocations: 88.14 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.9066, allocations: 15.81 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.9067, allocations: 29.7 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9068, allocations: 322.8 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.9069, allocations: 27.98 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.392e-05/0.907, allocations: 46.56 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.9072, allocations: 74.48 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9072, allocations: 0 / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.9074, allocations: 117.5 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9075, allocations: 8 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9075, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9075, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.9076, allocations: 15.92 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9076, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.9077, allocations: 12 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.9077, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 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.186e-05/0.9078, allocations: 133.7 kB / 1.213 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.9078, allocations: 7.906 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.9078, allocations: 8.375 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9078, allocations: 0 / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9079, allocations: 3.938 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9079, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.9083, allocations: 382.4 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9083, allocations: 0 / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/0.9084, allocations: 7.984 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9084, allocations: 0 / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.9084, allocations: 4 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.9084, allocations: 0 / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9084, allocations: 3.938 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.9087, allocations: 219.4 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.9087, allocations: 81.02 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9088, allocations: 0 / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.9089, allocations: 4 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.9089, allocations: 11.92 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.9089, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.909, allocations: 95.27 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.304e-06/0.909, allocations: 0 / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002886/0.9093, allocations: 51.86 kB / 1.214 GB, free: 7.188 MB / 0.9356 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.0002986/0.9096, allocations: 162.5 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.9098, allocations: 67.91 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9098, allocations: 4.125 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.9099, allocations: 35.97 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.9102, allocations: 11.94 kB / 1.214 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.9106, allocations: 191.8 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.9109, allocations: 0.6898 MB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.9109, allocations: 11.98 kB / 1.215 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.911, allocations: 11.44 kB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.911, allocations: 0 / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.004072/0.915, allocations: 1.485 MB / 1.216 GB, free: 4.484 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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