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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001102/0.001102, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001089/0.001089, allocations: 196.2 kB / 17.3 MB, free: 5.863 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.607/2.607, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.17 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3462, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.004628/0.3508, allocations: 1.489 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3532, allocations: 0.7399 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.3532, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.3534, allocations: 7.922 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.3534, allocations: 15.88 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.3542, allocations: 115.6 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3544, allocations: 79.77 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3545, allocations: 11.98 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.3547, allocations: 31.92 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3548, allocations: 47.81 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3548, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.3552, allocations: 95.84 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3553, allocations: 15.92 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.3554, allocations: 35.86 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.3558, allocations: 143.6 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3558, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.389e-06/0.3558, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3558, allocations: 3.938 kB / 1.029 GB, free: 15.25 MB / 0.8106 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.0009009/0.3567, allocations: 417 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.3568, allocations: 12.03 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.3569, allocations: 16.77 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3571, allocations: 180.2 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.3571, allocations: 4.375 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3572, allocations: 384 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.3575, allocations: 73.97 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3575, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3575, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3575, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.3578, allocations: 43.91 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.3587, allocations: 316.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3589, allocations: 42.56 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3591, allocations: 36.97 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3591, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.3594, allocations: 79.31 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.846e-06/0.3594, allocations: 0 / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006659/0.3601, allocations: 137.5 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3602, allocations: 51.41 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3604, allocations: 125.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.3604, allocations: 29.7 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3605, allocations: 92.05 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3606, allocations: 23.89 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.3607, allocations: 29.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.3609, allocations: 314.8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3611, allocations: 27.98 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.3613, allocations: 54.48 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.3616, allocations: 74.48 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3616, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004908/0.3621, allocations: 113.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3622, allocations: 11.03 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3622, allocations: 7.984 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3622, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3624, allocations: 11.94 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3624, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3626, allocations: 11.89 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3626, allocations: 8 kB / 1.032 GB, free: 12.7 MB / 0.8106 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.0001542/0.3628, allocations: 121.7 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3628, allocations: 11.91 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.3629, allocations: 16.36 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3629, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3629, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3629, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008161/0.3638, allocations: 382.3 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3638, allocations: 3.938 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.3639, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3639, allocations: 4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3639, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.3639, allocations: 7.984 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3639, allocations: 3.938 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.3645, allocations: 211.8 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.3645, allocations: 81.11 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3646, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3648, allocations: 11.98 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3648, allocations: 7.938 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.3649, allocations: 7.984 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001013/0.365, allocations: 99.8 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.91e-07/0.365, allocations: 0 / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005445/0.3656, allocations: 39.91 kB / 1.033 GB, free: 11.6 MB / 0.8106 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.0004828/0.3661, allocations: 152.4 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.3665, allocations: 79.88 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3665, allocations: 0 / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.3667, allocations: 35.92 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3672, allocations: 14.19 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.3678, allocations: 181.1 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3682, allocations: 0.6885 MB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.3683, allocations: 4 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3684, allocations: 11.44 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of SimCode: time 6.22e-07/0.3684, allocations: 0 / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.007753/0.3762, allocations: 1.456 MB / 1.035 GB, free: 8.945 MB / 0.8106 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 -s cvode -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/jenkins1/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