Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_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_10_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.001957/0.001957, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.002333/0.002333, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.58/1.58, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.576/2.576, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.7 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3161, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004106/0.3203, allocations: 2.189 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3226, allocations: 1.378 MB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3228, allocations: 4 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.3234, allocations: 183.1 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3238, allocations: 127.3 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.3242, allocations: 141 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.3245, allocations: 235.1 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3246, allocations: 36.67 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3248, allocations: 91.58 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3249, allocations: 95.48 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.325, allocations: 16 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3251, allocations: 59.91 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3253, allocations: 95.61 kB / 1.023 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3254, allocations: 127 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.3258, allocations: 366.5 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3259, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3259, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.3259, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 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.0009961/0.3269, allocations: 0.6686 MB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3269, allocations: 12.03 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.327, allocations: 48.31 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.3275, allocations: 352.2 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3275, allocations: 8.375 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3275, allocations: 7.938 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3277, allocations: 77.59 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3277, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3278, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3278, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3279, allocations: 43.95 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.3286, allocations: 460.5 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3288, allocations: 66.69 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.3289, allocations: 24.78 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3289, allocations: 4 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3291, allocations: 75.38 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 3.847e-06/0.3291, allocations: 112 / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0003842/0.3295, allocations: 145 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3296, allocations: 63.34 kB / 1.025 GB, free: 3.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.3302, allocations: 0.5293 MB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3303, allocations: 29.7 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3304, allocations: 212 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3305, allocations: 27.72 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.3306, allocations: 41.7 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3308, allocations: 358.8 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3309, allocations: 47.98 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.331, allocations: 74.55 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3312, allocations: 87.11 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3312, allocations: 0 / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003462/0.3316, allocations: 199.5 kB / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3316, allocations: 8 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3316, allocations: 0 / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3316, allocations: 4.062 kB / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3318, allocations: 35.86 kB / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3318, allocations: 0 / 1.027 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3319, allocations: 16.14 kB / 1.027 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3319, allocations: 4 kB / 1.027 GB, free: 1.551 MB / 0.795 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.0002116/0.3322, allocations: 183.1 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.3322, allocations: 47.45 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.3323, allocations: 43.81 kB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3323, allocations: 7.938 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3323, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3324, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.3327, allocations: 297.4 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3327, allocations: 0 / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.3327, allocations: 8 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3327, allocations: 7.922 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3327, allocations: 0 / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.3328, allocations: 11.92 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3328, allocations: 0 / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.333, allocations: 144.6 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.3331, allocations: 120.5 kB / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.3332, allocations: 3.984 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.3333, allocations: 11.88 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.3333, allocations: 11.98 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3333, allocations: 4 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000413/0.3338, allocations: 366.8 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 0 / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002617/0.334, allocations: 48 kB / 1.028 GB, free: 172 kB / 0.795 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.001569/0.3356, allocations: 418.3 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.3359, allocations: 91.95 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3359, allocations: 4 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.336, allocations: 31.92 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.3364, allocations: 60 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3376, allocations: 0.6905 MB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.338, allocations: 0.8109 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.3381, allocations: 23.42 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3381, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.007135/0.3453, allocations: 4.121 MB / 1.034 GB, free: 10.07 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches