Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001916/0.001916, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.705/2.705, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 62.14 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00301/0.3232, allocations: 1.548 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3246, allocations: 0.7206 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.3246, allocations: 8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.3247, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.3248, allocations: 7.875 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.3254, allocations: 111.8 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3255, allocations: 75.77 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.3256, allocations: 8 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.3257, allocations: 39.91 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.3258, allocations: 39.83 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3258, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.326, allocations: 99.84 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.326, allocations: 15.92 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.3261, allocations: 31.86 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3263, allocations: 104 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3263, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3263, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3263, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8419 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.0006974/0.327, allocations: 415.2 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3271, allocations: 12.62 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3271, allocations: 8.844 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3273, allocations: 176.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3273, allocations: 8.312 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3273, allocations: 4.375 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3275, allocations: 73.95 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3276, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3276, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3276, allocations: 7.938 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.3277, allocations: 39.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.3284, allocations: 308.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3286, allocations: 58.48 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.3287, allocations: 32.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3287, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3289, allocations: 75.38 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3289, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000443/0.3294, allocations: 145.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3294, allocations: 55.41 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3296, allocations: 125.8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3296, allocations: 29.7 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.3297, allocations: 92.05 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3297, allocations: 15.75 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3298, allocations: 25.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3299, allocations: 330.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.33, allocations: 23.98 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.3301, allocations: 54.48 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3303, allocations: 70.81 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3303, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.3306, allocations: 117.6 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3306, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3306, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3306, allocations: 4 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3307, allocations: 11.98 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3308, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.3308, allocations: 11.89 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3309, allocations: 8.062 kB / 1.069 GB, free: 9.73 MB / 0.8419 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.000119/0.331, allocations: 122.4 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.331, allocations: 7.906 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.331, allocations: 8.375 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.331, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3311, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3311, allocations: 3.984 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.3316, allocations: 382.4 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3316, allocations: 3.984 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.3316, allocations: 4 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3316, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3317, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3317, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3317, allocations: 3.938 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.332, allocations: 219.4 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3321, allocations: 88.94 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3321, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.3322, allocations: 7.984 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3322, allocations: 7.938 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3323, allocations: 4 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.3323, allocations: 103.1 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3323, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003186/0.3327, allocations: 35.98 kB / 1.07 GB, free: 8.641 MB / 0.8419 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.0003964/0.3331, allocations: 157.7 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3333, allocations: 79.89 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3333, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.3334, allocations: 36.11 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.3337, allocations: 12.48 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.3342, allocations: 222.6 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3345, allocations: 0.6924 MB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3346, allocations: 11.44 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3346, allocations: 3.938 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Templates: time 0.003952/0.3385, allocations: 1.618 MB / 1.073 GB, free: 5.77 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches