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.007853/0.007853, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001806/0.001807, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.431/1.431, 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 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.017, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003905/1.021, allocations: 1.481 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001595/1.023, allocations: 0.7344 MB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/1.023, allocations: 0 / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/1.023, allocations: 6.078 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/1.023, allocations: 14.09 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/1.024, allocations: 117.8 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/1.024, allocations: 77.03 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/1.024, allocations: 19.45 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/1.024, allocations: 35.66 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/1.025, allocations: 33.08 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/1.025, allocations: 10.84 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/1.025, allocations: 98.19 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/1.025, allocations: 23.23 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/1.025, allocations: 27.64 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/1.025, allocations: 138.4 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.025, allocations: 0.6094 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/1.025, allocations: 0.8125 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.025, allocations: 0 / 1.091 GB, free: 3.766 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.0006803/1.026, allocations: 428.4 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.026, allocations: 8.938 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/1.026, allocations: 9.188 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/1.026, allocations: 177.9 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/1.026, allocations: 7.875 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/1.026, allocations: 3.312 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/1.026, allocations: 72.97 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.026, allocations: 0 / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.027, allocations: 1.328 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.027, allocations: 0.7812 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/1.027, allocations: 40.89 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/1.027, allocations: 317.4 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/1.027, allocations: 46.5 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/1.028, allocations: 36.38 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/1.028, allocations: 0.75 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/1.028, allocations: 77.62 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.028, allocations: 0 / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/1.028, allocations: 141.9 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.028, allocations: 57.69 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/1.028, allocations: 122.9 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.028, allocations: 26.77 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/1.029, allocations: 96.58 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/1.029, allocations: 11.83 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/1.029, allocations: 29.33 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/1.029, allocations: 324.3 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/1.029, allocations: 26.75 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/1.029, allocations: 50.38 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/1.029, allocations: 75.83 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.029, allocations: 0.875 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/1.029, allocations: 120.9 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.029, allocations: 5.469 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.029, allocations: 1.188 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.029, allocations: 2.031 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.95e-05/1.029, allocations: 11.19 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.029, allocations: 1.062 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/1.03, allocations: 21.12 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.03, allocations: 3.953 kB / 1.093 GB, free: 1.77 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 8.753e-05/1.03, allocations: 123.5 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/1.03, allocations: 7.703 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/1.03, allocations: 11.19 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.03, allocations: 5.719 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.03, allocations: 0 / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.03, allocations: 0.9062 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/1.03, allocations: 377.8 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.03, allocations: 1.703 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/1.03, allocations: 9.047 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/1.03, allocations: 0.6562 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.03, allocations: 6.188 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.03, allocations: 0.8125 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.03, allocations: 4.719 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/1.031, allocations: 207.8 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/1.031, allocations: 79.2 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/1.031, allocations: 9.859 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/1.031, allocations: 8.703 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/1.031, allocations: 12.11 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.031, allocations: 3.516 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.106e-05/1.031, allocations: 92.06 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 0 / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003294/1.031, allocations: 46.36 kB / 1.094 GB, free: 0.9141 MB / 0.8575 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.0004026/1.032, allocations: 168.3 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002543/1.032, allocations: 68.48 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.032, allocations: 0 / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.032, allocations: 32.84 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.032, allocations: 9.891 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/1.033, allocations: 192.7 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/1.033, allocations: 0.6872 MB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.291e-05/1.033, allocations: 8.875 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/1.033, allocations: 15.77 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.033, allocations: 0 / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.005308/1.038, allocations: 1.456 MB / 1.096 GB, free: 15.75 MB / 0.8731 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/jenkins/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