Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000813/0.000813, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8612/0.8612, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.661/1.661, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.212e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002821/0.002843, allocations: 2.152 MB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004519, allocations: 1.435 MB / 0.9845 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.004643, allocations: 4 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004905/0.005133, allocations: 179.1 kB / 0.9847 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.005477, allocations: 179 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.00572, allocations: 115.5 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.005982, allocations: 254.9 kB / 0.9852 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.006115, allocations: 24.59 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.006254, allocations: 123.7 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.006382, allocations: 87.72 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.006408, allocations: 12 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006521, allocations: 55.84 kB / 0.9855 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.276e-05/0.006613, allocations: 103.6 kB / 0.9856 GB, free: 13.86 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.00668, allocations: 67.66 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.007022, allocations: 358.6 kB / 0.986 GB, free: 13.44 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007024, allocations: 0 / 0.986 GB, free: 13.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.007026, allocations: 0 / 0.986 GB, free: 13.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.007031, allocations: 0 / 0.986 GB, free: 13.44 MB / 0.948 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.0007209/0.007752, allocations: 0.6126 MB / 0.9866 GB, free: 12.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007788, allocations: 8.031 kB / 0.9866 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.007824, allocations: 46.67 kB / 0.9866 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.007879, allocations: 56.61 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.00818, allocations: 298.1 kB / 0.987 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.008192, allocations: 384 / 0.987 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.008206, allocations: 12.31 kB / 0.987 GB, free: 12.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.008357, allocations: 107.5 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.008364, allocations: 0 / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.008375, allocations: 7.984 kB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.008381, allocations: 4 kB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.73e-05/0.008448, allocations: 39.92 kB / 0.9871 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.008919, allocations: 411.7 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.009049, allocations: 70.61 kB / 0.9876 GB, free: 11.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.009086, allocations: 24.86 kB / 0.9876 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.0091, allocations: 0 / 0.9876 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.009232, allocations: 105.1 kB / 0.9877 GB, free: 11.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.009234, allocations: 0 / 0.9877 GB, free: 11.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002382/0.009472, allocations: 149.3 kB / 0.9879 GB, free: 11.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.009507, allocations: 55.41 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.009932, allocations: 0.5534 MB / 0.9884 GB, free: 10.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.00995, allocations: 25.7 kB / 0.9885 GB, free: 10.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01008, allocations: 232 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.0101, allocations: 15.95 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.01016, allocations: 45.64 kB / 0.9887 GB, free: 10.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01027, allocations: 358.8 kB / 0.9891 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.01035, allocations: 51.98 kB / 0.9891 GB, free: 9.984 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.01044, allocations: 104.1 kB / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.01055, allocations: 92.66 kB / 0.9893 GB, free: 9.773 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01055, allocations: 7.969 kB / 0.9893 GB, free: 9.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000203/0.01076, allocations: 197.3 kB / 0.9895 GB, free: 9.566 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01077, allocations: 8 kB / 0.9895 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01077, allocations: 0 / 0.9895 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01078, allocations: 0 / 0.9895 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.01086, allocations: 31.92 kB / 0.9896 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.01087, allocations: 0 / 0.9896 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.01093, allocations: 15.92 kB / 0.9896 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.01094, allocations: 4 kB / 0.9896 GB, free: 9.508 MB / 0.948 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.000123/0.01107, allocations: 181.8 kB / 0.9898 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.01109, allocations: 47.67 kB / 0.9898 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.01126, allocations: 141.6 kB / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01126, allocations: 0 / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01127, allocations: 256 / 0.9899 GB, free: 9.129 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01127, allocations: 7.938 kB / 0.9899 GB, free: 9.121 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.01145, allocations: 268.6 kB / 0.9902 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01145, allocations: 0 / 0.9902 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.01147, allocations: 4 kB / 0.9902 GB, free: 8.812 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01147, allocations: 0 / 0.9902 GB, free: 8.812 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01148, allocations: 11.94 kB / 0.9902 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01148, allocations: 0 / 0.9902 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01148, allocations: 0 / 0.9902 GB, free: 8.801 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.01161, allocations: 168.8 kB / 0.9904 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.01165, allocations: 43.66 kB / 0.9904 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.01167, allocations: 4 kB / 0.9904 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.01171, allocations: 7.984 kB / 0.9904 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01175, allocations: 7.984 kB / 0.9904 GB, free: 8.555 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01176, allocations: 7.938 kB / 0.9904 GB, free: 8.547 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003067/0.01207, allocations: 374.8 kB / 0.9908 GB, free: 8.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01207, allocations: 4 kB / 0.9908 GB, free: 8.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001934/0.01226, allocations: 43.95 kB / 0.9908 GB, free: 8.137 MB / 0.948 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0009851/0.01325, allocations: 1.044 MB / 0.9919 GB, free: 7.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01342, allocations: 95.95 kB / 0.992 GB, free: 7.156 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01342, allocations: 0 / 0.992 GB, free: 7.156 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.01346, allocations: 23.94 kB / 0.992 GB, free: 7.133 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.0137, allocations: 67.03 kB / 0.992 GB, free: 7.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.01609, allocations: 3.11 MB / 0.9951 GB, free: 3.867 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.01624, allocations: 212.4 kB / 0.9953 GB, free: 3.645 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.01631, allocations: 25.78 kB / 0.9953 GB, free: 3.621 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01642, allocations: 120.5 kB / 0.9954 GB, free: 3.504 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.01642, allocations: 4 kB / 0.9954 GB, free: 3.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.03613, allocations: 8.291 MB / 1.004 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.265, allocations: 13.69 kB / 1.004 GB, free: 11.32 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable per.TWatMax in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.226363732479513]