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.001557/0.001557, allocations: 108 kB / 15.61 MB, free: 152 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.001437/0.001437, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.823/2.823, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.00201, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7145, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004396/0.7189, allocations: 2.184 MB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.7215, allocations: 1.382 MB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.7217, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.7224, allocations: 183.1 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.7228, allocations: 131.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.7232, allocations: 143.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.7236, allocations: 227.1 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.7238, allocations: 42.36 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.7239, allocations: 91.58 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.7241, allocations: 99.48 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.7241, allocations: 8 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.7243, allocations: 55.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.7244, allocations: 99.61 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.7246, allocations: 134.9 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.7251, allocations: 350.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7251, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7251, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.7252, allocations: 0 / 1.022 GB, free: 13.38 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.001322/0.7265, allocations: 0.6725 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7265, allocations: 8.031 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.7266, allocations: 48.38 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.7272, allocations: 360.2 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7272, allocations: 384 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.7272, allocations: 11.94 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.7275, allocations: 73.66 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7275, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.7275, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.7275, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.7276, allocations: 35.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.7285, allocations: 468.4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.7287, allocations: 66.67 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.7288, allocations: 32.84 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.7288, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.729, allocations: 75.33 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.729, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000396/0.7294, allocations: 133.2 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.7295, allocations: 59.34 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/0.7302, allocations: 0.5293 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.7302, allocations: 33.81 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7304, allocations: 223.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.7304, allocations: 15.81 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.7305, allocations: 49.62 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.7307, allocations: 350.8 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7309, allocations: 51.97 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.731, allocations: 82.48 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.7312, allocations: 89.5 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7312, allocations: 0 / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003193/0.7315, allocations: 194.6 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7316, allocations: 4 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7316, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.7316, allocations: 4 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.7317, allocations: 23.92 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7318, allocations: 12 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.7319, allocations: 19.83 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.7319, allocations: 4 kB / 1.026 GB, free: 9.438 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.000192/0.7321, allocations: 182.4 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.7322, allocations: 35.53 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.7322, allocations: 43.8 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7323, allocations: 3.938 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7323, allocations: 4 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7323, allocations: 4 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.7326, allocations: 297.5 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7326, allocations: 4 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.7326, allocations: 256 / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7326, allocations: 4 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7326, allocations: 4 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7326, allocations: 3.938 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7326, allocations: 3.938 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.7329, allocations: 152.5 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.733, allocations: 116.5 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.733, allocations: 8 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.7331, allocations: 11.92 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.7332, allocations: 7.984 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.7332, allocations: 4 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004089/0.7336, allocations: 362.8 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7336, allocations: 3.938 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000257/0.7339, allocations: 44 kB / 1.027 GB, free: 8.07 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.001597/0.7355, allocations: 425.4 kB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.7358, allocations: 95.91 kB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7358, allocations: 0 / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.7359, allocations: 31.92 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.7363, allocations: 57.75 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.7374, allocations: 0.6521 MB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.7379, allocations: 0.8111 MB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.584e-05/0.738, allocations: 25.55 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.7381, allocations: 19.42 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7381, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.007613/0.7457, allocations: 2.868 MB / 1.032 GB, free: 3.238 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=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/jenkins/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