Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001736/0.001736, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001542/0.001542, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.8 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 66.98 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3689, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2125/0.5813, allocations: 171.2 MB / 1.451 GB, free: 15.79 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009596/0.5909, allocations: 6.633 MB / 1.457 GB, free: 9.141 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.5916, allocations: 19.81 kB / 1.457 GB, free: 9.121 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.5923, allocations: 166.7 kB / 1.457 GB, free: 8.957 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.5952, allocations: 0.8908 MB / 1.458 GB, free: 8.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.5963, allocations: 351.1 kB / 1.458 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.5975, allocations: 0.7329 MB / 1.459 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.5979, allocations: 218.8 kB / 1.459 GB, free: 6.773 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.5994, allocations: 0.5876 MB / 1.46 GB, free: 6.184 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.5999, allocations: 282.9 kB / 1.46 GB, free: 5.906 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.6, allocations: 24 kB / 1.46 GB, free: 5.883 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008291/0.6008, allocations: 367.1 kB / 1.461 GB, free: 5.523 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.601, allocations: 115.6 kB / 1.461 GB, free: 5.41 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.6012, allocations: 159.2 kB / 1.461 GB, free: 5.254 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008031/0.602, allocations: 470.7 kB / 1.461 GB, free: 4.793 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.602, allocations: 8 kB / 1.461 GB, free: 4.785 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.773e-06/0.602, allocations: 0 / 1.461 GB, free: 4.785 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.602, allocations: 0 / 1.461 GB, free: 4.785 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009681/0.603, allocations: 0.5515 MB / 1.462 GB, free: 4.203 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.603, allocations: 12.03 kB / 1.462 GB, free: 4.191 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.733e-05/0.6031, allocations: 62.53 kB / 1.462 GB, free: 4.121 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.6035, allocations: 63.67 kB / 1.462 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.604, allocations: 263.5 kB / 1.462 GB, free: 3.777 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.6041, allocations: 20.66 kB / 1.462 GB, free: 3.754 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.6041, allocations: 24 kB / 1.462 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.6047, allocations: 324.9 kB / 1.463 GB, free: 3.387 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6047, allocations: 4 kB / 1.463 GB, free: 3.383 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.6047, allocations: 8 kB / 1.463 GB, free: 3.375 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.6047, allocations: 8 kB / 1.463 GB, free: 3.367 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.6052, allocations: 205.5 kB / 1.463 GB, free: 3.164 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.6069, allocations: 1.496 MB / 1.464 GB, free: 1.543 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.6073, allocations: 118.5 kB / 1.464 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.6075, allocations: 84.8 kB / 1.464 GB, free: 1.332 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.6081, allocations: 71.92 kB / 1.464 GB, free: 1.262 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6081, allocations: 42.42 kB / 1.465 GB, free: 1.211 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.6081, allocations: 0 / 1.465 GB, free: 1.211 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0009345/0.609, allocations: 265.4 kB / 1.465 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.6091, allocations: 55.66 kB / 1.465 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.6095, allocations: 312.5 kB / 1.465 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.6095, allocations: 25.7 kB / 1.465 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.6097, allocations: 184.2 kB / 1.465 GB, free: 356 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.6097, allocations: 51.58 kB / 1.465 GB, free: 304 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.6098, allocations: 37.7 kB / 1.465 GB, free: 260 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.61, allocations: 334.8 kB / 1.466 GB, free: 15.92 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.6102, allocations: 63.86 kB / 1.466 GB, free: 15.86 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6104, allocations: 113 kB / 1.466 GB, free: 15.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.6107, allocations: 180.9 kB / 1.466 GB, free: 15.53 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6107, allocations: 11.94 kB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004459/0.6112, allocations: 217.2 kB / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6112, allocations: 4 kB / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6112, allocations: 0 / 1.466 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6112, allocations: 4 kB / 1.466 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.6114, allocations: 35.92 kB / 1.466 GB, free: 15.26 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.6114, allocations: 12.12 kB / 1.466 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.6116, allocations: 27.84 kB / 1.466 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.6116, allocations: 7.984 kB / 1.466 GB, free: 15.21 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001709/0.6118, allocations: 153.8 kB / 1.467 GB, free: 15.05 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.6119, allocations: 27.81 kB / 1.467 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.6123, allocations: 213.3 kB / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6123, allocations: 0 / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6124, allocations: 7.984 kB / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6124, allocations: 0 / 1.467 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6135, allocations: 0.6476 MB / 1.467 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6135, allocations: 0 / 1.467 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.6136, allocations: 35.91 kB / 1.467 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6137, allocations: 3.938 kB / 1.467 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6137, allocations: 7.938 kB / 1.467 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.6137, allocations: 4 kB / 1.467 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6137, allocations: 0 / 1.467 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/0.6142, allocations: 346.2 kB / 1.468 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6143, allocations: 47.73 kB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.6143, allocations: 7.938 kB / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.6145, allocations: 16.05 kB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.6145, allocations: 11.92 kB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.6146, allocations: 8 kB / 1.468 GB, free: 13.56 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000267/0.6148, allocations: 223 kB / 1.468 GB, free: 13.35 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6148, allocations: 3.938 kB / 1.468 GB, free: 13.34 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003971/0.6152, allocations: 75.89 kB / 1.468 GB, free: 13.27 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0011/0.6163, allocations: 0.9069 MB / 1.469 GB, free: 12.31 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.6168, allocations: 151.8 kB / 1.469 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6168, allocations: 0 / 1.469 GB, free: 12.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.617, allocations: 88.56 kB / 1.469 GB, free: 12.08 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.6178, allocations: 138.3 kB / 1.469 GB, free: 11.95 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.6218, allocations: 2.822 MB / 1.472 GB, free: 8.969 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.6222, allocations: 0.7872 MB / 1.473 GB, free: 8.156 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.6224, allocations: 50.95 kB / 1.473 GB, free: 8.105 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6226, allocations: 95.41 kB / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of SimCode: time 1.833e-06/0.6226, allocations: 0 / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.6634, allocations: 8.318 MB / 1.481 GB, free: 15.92 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.87, allocations: 8.625 kB / 1.481 GB, free: 15.91 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senM_flow.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.716575898000883]