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.001719/0.001719, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00256/0.00256, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.667/1.667, allocations: 230.6 MB / 256 MB, free: 7.816 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.959/2.959, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 68.16 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.196/0.5305, allocations: 147.8 MB / 1.427 GB, free: 8.129 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00839/0.5389, allocations: 6.019 MB / 1.433 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.5394, allocations: 15.88 kB / 1.433 GB, free: 2.082 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.54, allocations: 174.7 kB / 1.433 GB, free: 1.91 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.5424, allocations: 0.8441 MB / 1.434 GB, free: 1.062 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.5433, allocations: 330.9 kB / 1.434 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.5442, allocations: 0.7252 MB / 1.435 GB, free: 12 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.5446, allocations: 219.2 kB / 1.435 GB, free: 15.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.5458, allocations: 0.576 MB / 1.436 GB, free: 15.22 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.5462, allocations: 267 kB / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.5462, allocations: 27.94 kB / 1.436 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.5468, allocations: 303.2 kB / 1.436 GB, free: 14.63 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.547, allocations: 103.6 kB / 1.436 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.5471, allocations: 135.3 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.5478, allocations: 476.1 kB / 1.437 GB, free: 13.93 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5478, allocations: 4 kB / 1.437 GB, free: 13.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5478, allocations: 3.938 kB / 1.437 GB, free: 13.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.5478, allocations: 0 / 1.437 GB, free: 13.93 MB / 1.139 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.0008844/0.5487, allocations: 0.5516 MB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5487, allocations: 12.03 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.5488, allocations: 62.53 kB / 1.437 GB, free: 13.26 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.5491, allocations: 63.67 kB / 1.438 GB, free: 13.2 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.5496, allocations: 263.6 kB / 1.438 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5497, allocations: 20.66 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.5497, allocations: 24 kB / 1.438 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.5502, allocations: 312.9 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5503, allocations: 3.938 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.5503, allocations: 12 kB / 1.438 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5503, allocations: 8 kB / 1.438 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.5507, allocations: 217.5 kB / 1.438 GB, free: 12.3 MB / 1.139 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.001558/0.5523, allocations: 1.19 MB / 1.439 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.5526, allocations: 110.5 kB / 1.44 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.5527, allocations: 84.8 kB / 1.44 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.5532, allocations: 71.92 kB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.5533, allocations: 38.5 kB / 1.44 GB, free: 10.73 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.5533, allocations: 0 / 1.44 GB, free: 10.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007659/0.554, allocations: 273.6 kB / 1.44 GB, free: 10.45 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5541, allocations: 59.34 kB / 1.44 GB, free: 10.38 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.5544, allocations: 312.5 kB / 1.44 GB, free: 10.07 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.5545, allocations: 29.7 kB / 1.44 GB, free: 10.03 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.5546, allocations: 184.2 kB / 1.441 GB, free: 9.848 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5547, allocations: 47.56 kB / 1.441 GB, free: 9.801 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.5547, allocations: 41.7 kB / 1.441 GB, free: 9.754 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5549, allocations: 342.8 kB / 1.441 GB, free: 9.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.555, allocations: 55.86 kB / 1.441 GB, free: 9.355 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.5553, allocations: 196 kB / 1.441 GB, free: 9.129 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.5556, allocations: 180.9 kB / 1.441 GB, free: 8.934 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5556, allocations: 0 / 1.441 GB, free: 8.934 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004389/0.5561, allocations: 221.2 kB / 1.442 GB, free: 8.711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5561, allocations: 4 kB / 1.442 GB, free: 8.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5561, allocations: 4 kB / 1.442 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5561, allocations: 0 / 1.442 GB, free: 8.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.5563, allocations: 40.08 kB / 1.442 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5563, allocations: 7.938 kB / 1.442 GB, free: 8.656 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.5565, allocations: 27.83 kB / 1.442 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.5565, allocations: 8 kB / 1.442 GB, free: 8.621 MB / 1.139 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.000159/0.5567, allocations: 149.8 kB / 1.442 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5567, allocations: 31.8 kB / 1.442 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004691/0.5572, allocations: 211 kB / 1.442 GB, free: 8.219 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5572, allocations: 0 / 1.442 GB, free: 8.219 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5572, allocations: 4 kB / 1.442 GB, free: 8.215 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5572, allocations: 4 kB / 1.442 GB, free: 8.211 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.5583, allocations: 0.628 MB / 1.443 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5583, allocations: 4 kB / 1.443 GB, free: 7.508 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5584, allocations: 36.12 kB / 1.443 GB, free: 7.473 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5584, allocations: 4 kB / 1.443 GB, free: 7.469 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.5585, allocations: 7.938 kB / 1.443 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5585, allocations: 0 / 1.443 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5585, allocations: 4 kB / 1.443 GB, free: 7.457 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.5589, allocations: 329.3 kB / 1.443 GB, free: 7.098 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.559, allocations: 55.7 kB / 1.443 GB, free: 7.043 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.5591, allocations: 7.938 kB / 1.443 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.5592, allocations: 11.98 kB / 1.443 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.5593, allocations: 19.92 kB / 1.443 GB, free: 7.004 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.5593, allocations: 4 kB / 1.443 GB, free: 7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002362/0.5595, allocations: 227 kB / 1.443 GB, free: 6.781 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5595, allocations: 0 / 1.443 GB, free: 6.781 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003887/0.5599, allocations: 71.89 kB / 1.443 GB, free: 6.711 MB / 1.139 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.0009632/0.5609, allocations: 0.9092 MB / 1.444 GB, free: 5.75 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.5613, allocations: 147.8 kB / 1.444 GB, free: 5.605 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5613, allocations: 320 / 1.444 GB, free: 5.605 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.5615, allocations: 87.81 kB / 1.445 GB, free: 5.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/0.5623, allocations: 147.6 kB / 1.445 GB, free: 5.383 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.5661, allocations: 2.821 MB / 1.447 GB, free: 2.406 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.5662, allocations: 175.8 kB / 1.448 GB, free: 2.215 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.5665, allocations: 66.92 kB / 1.448 GB, free: 2.148 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5666, allocations: 91.41 kB / 1.448 GB, free: 2.062 MB / 1.139 GB Notification: Performance of SimCode: time 7.91e-07/0.5666, allocations: 0 / 1.448 GB, free: 2.062 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04245/0.609, allocations: 9.2 MB / 1.457 GB, free: 9.145 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.54, allocations: 10.25 kB / 1.457 GB, free: 9.137 MB / 1.154 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: 19.974638597108424]