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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001192/0.001192, allocations: 100.1 kB / 15.88 MB, free: 8 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.001237/0.001237, allocations: 197.2 kB / 16.79 MB, free: 6.828 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.324/1.324, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 59.91 kB / 0.8692 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6443, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00376/0.6481, allocations: 2.246 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.6502, allocations: 1.359 MB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.6504, allocations: 3.938 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.651, allocations: 175.3 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.6513, allocations: 115.5 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.6516, allocations: 119.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.6519, allocations: 227.1 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.652, allocations: 38.31 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.6522, allocations: 83.56 kB / 1.022 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.6523, allocations: 103.4 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.6523, allocations: 8 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.6525, allocations: 43.97 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6526, allocations: 91.61 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.6527, allocations: 123 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.653, allocations: 279.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.653, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.653, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.653, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 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.000932/0.654, allocations: 0.6687 MB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.654, allocations: 8.031 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.6541, allocations: 44.38 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.6545, allocations: 348.2 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.6545, allocations: 12.31 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.6546, allocations: 11.92 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.6547, allocations: 77.66 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6547, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6548, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6548, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.6549, allocations: 39.97 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.6555, allocations: 464.4 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.6557, allocations: 66.69 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.6558, allocations: 28.78 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.6558, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.656, allocations: 79.31 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.656, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003269/0.6563, allocations: 137.2 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.6564, allocations: 63.34 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.6569, allocations: 0.5332 MB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.657, allocations: 33.7 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.6571, allocations: 212 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.6572, allocations: 19.8 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.6572, allocations: 37.7 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6574, allocations: 362.9 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.6575, allocations: 44.17 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.6576, allocations: 79.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.6578, allocations: 98.77 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6578, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003019/0.6581, allocations: 194 kB / 1.026 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.6581, allocations: 4 kB / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6581, allocations: 0 / 1.026 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6582, allocations: 8.062 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.6583, allocations: 31.86 kB / 1.026 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6583, allocations: 0 / 1.026 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.6584, allocations: 19.83 kB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.6584, allocations: 4 kB / 1.026 GB, free: 9.906 MB / 0.7794 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.0001656/0.6586, allocations: 182.3 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.6587, allocations: 39.52 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.6587, allocations: 43.81 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6587, allocations: 7.938 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.6588, allocations: 0 / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6588, allocations: 4 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.659, allocations: 297.4 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.659, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.659, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.659, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.6591, allocations: 15.92 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6591, allocations: 3.938 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6591, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.6593, allocations: 144.6 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.6594, allocations: 120.5 kB / 1.027 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.6595, allocations: 3.984 kB / 1.027 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.6595, allocations: 7.938 kB / 1.027 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.6596, allocations: 15.98 kB / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.6596, allocations: 0 / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003626/0.66, allocations: 366.8 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.66, allocations: 7.938 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002646/0.6603, allocations: 44 kB / 1.027 GB, free: 8.531 MB / 0.7794 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.001017/0.6613, allocations: 416.7 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.6616, allocations: 99.89 kB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6616, allocations: 0 / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.6617, allocations: 31.92 kB / 1.028 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.662, allocations: 52.17 kB / 1.028 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.6631, allocations: 0.7685 MB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.6635, allocations: 0.8156 MB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.6636, allocations: 27.42 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6636, allocations: 0 / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.006089/0.6697, allocations: 4.112 MB / 1.033 GB, free: 2.359 MB / 0.7794 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=480 -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