Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.00164/0.00164, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 63.78 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3306, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00399/0.3347, allocations: 2.171 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.337, allocations: 1.373 MB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.3372, allocations: 3.938 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.3379, allocations: 187.6 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.3384, allocations: 127.4 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.3388, allocations: 144.3 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.3392, allocations: 227.1 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3393, allocations: 44.66 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.3396, allocations: 91.58 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3397, allocations: 103.5 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.3398, allocations: 8 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.34, allocations: 59.89 kB / 1.069 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3401, allocations: 91.69 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3402, allocations: 127 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.3407, allocations: 358.6 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3407, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3407, allocations: 0 / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.3407, allocations: 0 / 1.069 GB, free: 9.902 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001062/0.3418, allocations: 0.688 MB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3418, allocations: 8.625 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.3419, allocations: 44.38 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.3424, allocations: 352.3 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3424, allocations: 4.359 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3425, allocations: 11.94 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3427, allocations: 77.59 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3427, allocations: 3.938 kB / 1.07 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3427, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3427, allocations: 7.984 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3428, allocations: 35.98 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.3436, allocations: 448.5 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.3438, allocations: 82.66 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.3438, allocations: 32.78 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3439, allocations: 0 / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3441, allocations: 75.39 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3441, allocations: 0 / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0003514/0.3444, allocations: 145 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3445, allocations: 59.34 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.3451, allocations: 0.5294 MB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3451, allocations: 25.7 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3453, allocations: 220 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3453, allocations: 23.73 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.3454, allocations: 41.7 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3455, allocations: 354.8 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3456, allocations: 47.98 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3458, allocations: 82.45 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3459, allocations: 91.73 kB / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3459, allocations: 0 / 1.073 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003149/0.3463, allocations: 189.1 kB / 1.073 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3463, allocations: 6.031 kB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3463, allocations: 4.062 kB / 1.073 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3463, allocations: 7.938 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3464, allocations: 23.92 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3465, allocations: 4 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3466, allocations: 11.91 kB / 1.073 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3466, allocations: 7.984 kB / 1.073 GB, free: 5.965 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001734/0.3468, allocations: 185.7 kB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.3469, allocations: 43.44 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.3469, allocations: 43.8 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3469, allocations: 7.938 kB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.347, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.347, allocations: 0 / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.3472, allocations: 297.5 kB / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3472, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.3473, allocations: 4 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3473, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3473, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3473, allocations: 4.188 kB / 1.073 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3473, allocations: 7.938 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.3475, allocations: 148.6 kB / 1.074 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.3476, allocations: 120.5 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.3477, allocations: 8 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.3478, allocations: 11.88 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3478, allocations: 11.92 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3479, allocations: 11.98 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003771/0.3482, allocations: 362.8 kB / 1.074 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3482, allocations: 4 kB / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000266/0.3485, allocations: 36 kB / 1.074 GB, free: 4.586 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001018/0.3495, allocations: 411.5 kB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.3498, allocations: 98.16 kB / 1.075 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3498, allocations: 0 / 1.075 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.3499, allocations: 35.91 kB / 1.075 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3503, allocations: 54.31 kB / 1.075 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3514, allocations: 0.6925 MB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3518, allocations: 0.8216 MB / 1.076 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.3518, allocations: 19.44 kB / 1.076 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3519, allocations: 0 / 1.076 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.4857/0.8376, allocations: 4.114 MB / 1.08 GB, free: 21.27 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches