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.001389/0.001389, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 198 kB / 16.67 MB, free: 6.582 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.454/1.454, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.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.693/2.693, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 1.018 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3201, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002636/0.3228, allocations: 1.486 MB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3241, allocations: 0.7167 MB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.3241, allocations: 4 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.3242, allocations: 3.938 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.3242, allocations: 15.84 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3248, allocations: 131.6 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3249, allocations: 75.72 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.325, allocations: 11.98 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.3251, allocations: 27.92 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.3252, allocations: 39.83 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3252, allocations: 8 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3254, allocations: 99.84 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.3254, allocations: 19.97 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.3255, allocations: 35.84 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3257, allocations: 147.5 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3258, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3258, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3258, allocations: 0 / 1.169 GB, free: 3.977 MB / 0.92 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.0006275/0.3264, allocations: 420.7 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3265, allocations: 8.031 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3265, allocations: 12.89 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3266, allocations: 184.1 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.3267, allocations: 8.375 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3267, allocations: 4.375 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3269, allocations: 69.95 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3269, allocations: 4 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3269, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3269, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3271, allocations: 39.97 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006185/0.3277, allocations: 320.6 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3279, allocations: 54.55 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.328, allocations: 32.97 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.328, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3282, allocations: 75.38 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.3283, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004523/0.3287, allocations: 141.5 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.3288, allocations: 51.41 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3289, allocations: 125.8 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.329, allocations: 33.7 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.329, allocations: 96.16 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3291, allocations: 15.84 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.3291, allocations: 29.7 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3293, allocations: 322.8 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.3294, allocations: 27.98 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.3295, allocations: 50.55 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3297, allocations: 70.5 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3297, allocations: 0 / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000245/0.3299, allocations: 109.5 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.33, allocations: 8 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.33, allocations: 4.062 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.33, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3301, allocations: 23.92 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3302, allocations: 4 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.3302, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3303, allocations: 3.984 kB / 1.172 GB, free: 1.418 MB / 0.92 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.0001383/0.3304, allocations: 121.8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.3304, allocations: 7.953 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3305, allocations: 12.38 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3305, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3305, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3305, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.3311, allocations: 386.4 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3311, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.3311, allocations: 7.922 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3311, allocations: 4 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3312, allocations: 4 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3312, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3312, allocations: 3.938 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.3315, allocations: 211.9 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3316, allocations: 85 kB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.3316, allocations: 3.984 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.3317, allocations: 11.92 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.3317, allocations: 11.94 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3318, allocations: 0 / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.333e-05/0.3318, allocations: 95.27 kB / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 0 / 1.172 GB, free: 376 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003689/0.3322, allocations: 39.92 kB / 1.173 GB, free: 336 kB / 0.92 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.0004656/0.3327, allocations: 165.3 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.333, allocations: 71.89 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.333, allocations: 0 / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.3331, allocations: 35.97 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3334, allocations: 4 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3339, allocations: 195.4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3342, allocations: 0.6846 MB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.3342, allocations: 7.984 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.3343, allocations: 11.44 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3343, allocations: 3.938 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.004174/0.3384, allocations: 1.473 MB / 1.175 GB, free: 13.64 MB / 0.9356 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/jenkins/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