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.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001312/0.001313, allocations: 192.8 kB / 16.26 MB, free: 6.621 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.837/2.837, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7118, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004387/0.7163, allocations: 2.246 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.7187, allocations: 1.359 MB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.7189, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.7198, allocations: 175.3 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.7201, allocations: 115.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.7206, allocations: 131.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.7209, allocations: 235.1 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.7211, allocations: 42.36 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.7213, allocations: 95.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.7214, allocations: 99.55 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.7215, allocations: 16 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.7216, allocations: 51.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.7218, allocations: 95.61 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.722, allocations: 135 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.7225, allocations: 354.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7225, allocations: 3.938 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7225, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.7225, allocations: 0 / 1.022 GB, free: 13.61 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.001232/0.7237, allocations: 0.6725 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7238, allocations: 8.031 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.7239, allocations: 44.38 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.7244, allocations: 360.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.7244, allocations: 4.359 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.7244, allocations: 7.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.7247, allocations: 81.59 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7247, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.7247, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.7247, allocations: 7.984 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.7248, allocations: 35.98 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.7257, allocations: 460.4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.7259, allocations: 74.61 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.726, allocations: 20.86 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.726, allocations: 7.984 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.7262, allocations: 71.39 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.7262, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003891/0.7266, allocations: 145.1 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.7267, allocations: 59.45 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.7274, allocations: 0.5332 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.7274, allocations: 29.7 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.7276, allocations: 224 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.7277, allocations: 11.81 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.7277, allocations: 41.7 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7279, allocations: 358.8 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.7281, allocations: 47.98 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.7282, allocations: 74.55 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.7284, allocations: 99.67 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7284, allocations: 0 / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003372/0.7287, allocations: 197 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7288, allocations: 5.25 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7288, allocations: 0 / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7288, allocations: 8.062 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7289, allocations: 23.92 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.7289, allocations: 4 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.7291, allocations: 11.84 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.7291, allocations: 12.23 kB / 1.025 GB, free: 9.68 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.0002041/0.7293, allocations: 181.7 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.7294, allocations: 39.53 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/0.7294, allocations: 47.8 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7295, allocations: 11.94 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7295, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7295, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.7298, allocations: 297.5 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7298, allocations: 0 / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.7299, allocations: 4 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7299, allocations: 0 / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.7299, allocations: 0 / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.7299, allocations: 7.922 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7299, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.7302, allocations: 156.5 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.7303, allocations: 116.5 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.7303, allocations: 4 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.7304, allocations: 11.94 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.7304, allocations: 11.92 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7305, allocations: 7.922 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004063/0.7309, allocations: 366.8 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7309, allocations: 0 / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002544/0.7311, allocations: 40 kB / 1.027 GB, free: 8.309 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.001558/0.7327, allocations: 424.4 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.733, allocations: 91.91 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.733, allocations: 0 / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.7331, allocations: 31.92 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.7335, allocations: 62.83 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.7348, allocations: 0.7184 MB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.7354, allocations: 0.8138 MB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.7355, allocations: 25.55 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.7356, allocations: 19.44 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7356, allocations: 0 / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of Templates: time 0.00802/0.7436, allocations: 2.811 MB / 1.032 GB, free: 3.457 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