Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_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_11_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.00157/0.00157, allocations: 106.6 kB / 15.99 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.001535/0.001535, allocations: 196.5 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.426/1.426, 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.655/2.655, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.58 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3098, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002848/0.3127, allocations: 1.544 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.314, allocations: 0.7247 MB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.314, allocations: 3.938 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.3141, allocations: 3.984 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3141, allocations: 15.86 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.3147, allocations: 103.8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3148, allocations: 71.84 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.3149, allocations: 15.98 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.315, allocations: 35.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3151, allocations: 39.83 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3151, allocations: 8 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3153, allocations: 91.91 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.3153, allocations: 19.92 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3154, allocations: 35.84 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.3155, allocations: 100.1 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3156, allocations: 0 / 1.067 GB, free: 12.32 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.000662/0.3162, allocations: 413 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3163, allocations: 8.625 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.3163, allocations: 16.78 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3165, allocations: 180.2 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3165, allocations: 8.375 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3165, allocations: 8.312 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3167, allocations: 69.97 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3168, allocations: 4 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3168, allocations: 3.984 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3168, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3169, allocations: 31.98 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.3176, allocations: 320.7 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3177, allocations: 46.56 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.3178, allocations: 32.97 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3179, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.3181, allocations: 83.44 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 3.797e-06/0.3181, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.3185, allocations: 137.5 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3186, allocations: 59.39 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3187, allocations: 121.8 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3188, allocations: 29.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.3188, allocations: 96.03 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3189, allocations: 19.75 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.3189, allocations: 29.7 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3191, allocations: 322.8 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3192, allocations: 23.97 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.3193, allocations: 50.5 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3194, allocations: 74.48 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3194, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002484/0.3197, allocations: 109.6 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3197, allocations: 8 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3197, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3198, allocations: 4.062 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3199, allocations: 11.94 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3199, allocations: 7.984 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.32, allocations: 7.906 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.32, allocations: 8 kB / 1.069 GB, free: 9.77 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.0001099/0.3201, allocations: 120 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.3201, allocations: 7.906 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3202, allocations: 12.36 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3202, allocations: 11.98 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.3207, allocations: 386.3 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3207, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.3208, allocations: 0 / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3208, allocations: 4 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3208, allocations: 7.922 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3208, allocations: 4 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3208, allocations: 4.406 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3211, allocations: 215.3 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.3212, allocations: 81.02 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.3212, allocations: 3.984 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3213, allocations: 4 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3213, allocations: 15.92 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.3213, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.3214, allocations: 95.27 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3214, allocations: 3.938 kB / 1.07 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003026/0.3217, allocations: 36 kB / 1.07 GB, free: 8.676 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.0003653/0.3221, allocations: 152.2 kB / 1.07 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3224, allocations: 79.89 kB / 1.07 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3224, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.3225, allocations: 31.98 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3228, allocations: 15.02 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.3232, allocations: 230.8 kB / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3236, allocations: 0.6885 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.3236, allocations: 11.44 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/0.3236, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of Templates: time 0.003817/0.3274, allocations: 1.611 MB / 1.073 GB, free: 5.812 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches