Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007938/0.0007938, 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.0008614/0.0008614, allocations: 169.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.887/0.887, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.597e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003023/0.003049, allocations: 2.164 MB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005134, allocations: 1.427 MB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.005323, allocations: 0 / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.005921, allocations: 179.1 kB / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.006342, allocations: 187 kB / 0.9544 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.006611, allocations: 111.6 kB / 0.9545 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.006903, allocations: 246.9 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.007052, allocations: 32.56 kB / 0.9547 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.00722, allocations: 127.6 kB / 0.9549 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.007377, allocations: 87.72 kB / 0.9549 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.007403, allocations: 15.94 kB / 0.955 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.00753, allocations: 55.91 kB / 0.955 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.007619, allocations: 91.62 kB / 0.9551 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.931e-05/0.007689, allocations: 71.66 kB / 0.9552 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.008105, allocations: 362.6 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.00811, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.954e-06/0.008112, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.008117, allocations: 0 / 0.9555 GB, free: 14.33 MB / 0.9167 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.0008121/0.00893, allocations: 0.6219 MB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0003037/0.009233, allocations: 12.03 kB / 0.9561 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.009271, allocations: 30.75 kB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.00934, allocations: 48.61 kB / 0.9562 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.009696, allocations: 302.2 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.009712, allocations: 4.375 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.00973, allocations: 12.38 kB / 0.9565 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.009904, allocations: 99.48 kB / 0.9566 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.009913, allocations: 4 kB / 0.9566 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.009925, allocations: 7.938 kB / 0.9566 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.009929, allocations: 0 / 0.9566 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.01, allocations: 39.97 kB / 0.9566 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.01059, allocations: 411.6 kB / 0.957 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.01073, allocations: 70.61 kB / 0.9571 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.01077, allocations: 28.84 kB / 0.9571 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.01079, allocations: 0 / 0.9571 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.01094, allocations: 105.1 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.01094, allocations: 0 / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002608/0.0112, allocations: 157.5 kB / 0.9574 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01123, allocations: 51.41 kB / 0.9574 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.01164, allocations: 0.5495 MB / 0.958 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01166, allocations: 29.7 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01179, allocations: 216 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.01181, allocations: 31.81 kB / 0.9582 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01188, allocations: 37.7 kB / 0.9583 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01198, allocations: 358.8 kB / 0.9586 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.01205, allocations: 47.98 kB / 0.9587 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.01214, allocations: 102.9 kB / 0.9588 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01225, allocations: 92.59 kB / 0.9588 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01225, allocations: 3.984 kB / 0.9589 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002189/0.01247, allocations: 209.2 kB / 0.9591 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01249, allocations: 8.062 kB / 0.9591 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01249, allocations: 0 / 0.9591 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.01251, allocations: 4 kB / 0.9591 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.0126, allocations: 23.92 kB / 0.9591 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.0126, allocations: 4 kB / 0.9591 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.01268, allocations: 15.88 kB / 0.9591 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01269, allocations: 7.984 kB / 0.9591 GB, free: 10.41 MB / 0.9167 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.0001418/0.01284, allocations: 187.6 kB / 0.9593 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.01287, allocations: 43.72 kB / 0.9593 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.01306, allocations: 133.6 kB / 0.9595 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01306, allocations: 4 kB / 0.9595 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01306, allocations: 0 / 0.9595 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01307, allocations: 7.922 kB / 0.9595 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01325, allocations: 256.6 kB / 0.9597 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01325, allocations: 4 kB / 0.9597 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.01327, allocations: 8.109 kB / 0.9597 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01327, allocations: 3.938 kB / 0.9597 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.01328, allocations: 3.984 kB / 0.9597 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01328, allocations: 0 / 0.9597 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01329, allocations: 4 kB / 0.9597 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01343, allocations: 164.8 kB / 0.9599 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.01347, allocations: 47.64 kB / 0.9599 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.0135, allocations: 0 / 0.9599 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.01354, allocations: 8 kB / 0.9599 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.01358, allocations: 15.97 kB / 0.96 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01359, allocations: 3.938 kB / 0.96 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002708/0.01386, allocations: 370.8 kB / 0.9603 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01386, allocations: 0 / 0.9603 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001964/0.01406, allocations: 47.94 kB / 0.9604 GB, free: 9.051 MB / 0.9167 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.001051/0.01511, allocations: 1.047 MB / 0.9614 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.0153, allocations: 91.28 kB / 0.9615 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.0153, allocations: 4 kB / 0.9615 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.01536, allocations: 27.98 kB / 0.9615 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01562, allocations: 58.14 kB / 0.9616 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.01838, allocations: 3.113 MB / 0.9646 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.01851, allocations: 216.4 kB / 0.9648 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.0186, allocations: 33.77 kB / 0.9648 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.01872, allocations: 120.5 kB / 0.965 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/0.01872, allocations: 0 / 0.965 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.04579, allocations: 8.273 MB / 0.973 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.522, allocations: 2.812 kB / 0.973 GB, free: 12.24 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.5717982519418]