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.001092/0.001092, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.00106/0.00106, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 63.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7057, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002337/0.708, allocations: 1.488 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.7093, allocations: 0.7245 MB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.7093, allocations: 0 / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.7093, allocations: 11.86 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.7094, allocations: 7.938 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.71, allocations: 127.5 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.7101, allocations: 79.77 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.7102, allocations: 15.98 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.7103, allocations: 27.92 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.863e-05/0.7104, allocations: 47.75 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.7104, allocations: 8 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.7106, allocations: 91.91 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.7106, allocations: 19.98 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.7107, allocations: 31.8 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.7109, allocations: 152 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7109, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7109, allocations: 0 / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7109, allocations: 0 / 1.17 GB, free: 1.062 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.000591/0.7115, allocations: 424.7 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7116, allocations: 12.02 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.7116, allocations: 8.891 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7117, allocations: 172.3 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.7118, allocations: 384 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7118, allocations: 4.375 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.712, allocations: 77.95 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.712, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.712, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.712, allocations: 3.938 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.7122, allocations: 35.97 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.7128, allocations: 328.7 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.7129, allocations: 42.56 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.713, allocations: 32.97 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.713, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.7132, allocations: 87.31 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.766e-06/0.7132, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003827/0.7136, allocations: 133.5 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.7136, allocations: 55.41 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.7137, allocations: 125.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.7138, allocations: 25.7 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.7138, allocations: 96.09 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.7138, allocations: 19.95 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.7139, allocations: 25.72 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.714, allocations: 330.7 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.7141, allocations: 23.98 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-05/0.7142, allocations: 46.55 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.7143, allocations: 78.84 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7143, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002338/0.7146, allocations: 109.6 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.7146, allocations: 4 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7146, allocations: 4 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7146, allocations: 11.98 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.7147, allocations: 8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7148, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.7148, allocations: 11.92 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.7149, allocations: 12 kB / 1.172 GB, free: 14.51 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 8.442e-05/0.7149, allocations: 119.3 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.715, allocations: 11.89 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.715, allocations: 12.38 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.715, allocations: 3.984 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.715, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.7151, allocations: 92.94 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7151, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.7151, allocations: 7.938 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.7152, allocations: 7.984 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002813/0.7155, allocations: 188.9 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000278/0.7158, allocations: 278.8 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.091e-05/0.7159, allocations: 39.91 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.7159, allocations: 91.27 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/0.7159, allocations: 0 / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.7166, allocations: 190.9 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000444/0.7171, allocations: 0.622 MB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.003968/0.7211, allocations: 1.505 MB / 1.175 GB, free: 11.27 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