Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001525/0.001525, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001802/0.001802, allocations: 211 kB / 22.24 MB, free: 4.855 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.075/3.075, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_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.002/0.002, allocations: 65.28 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1696/0.492, allocations: 147.8 MB / 1.508 GB, free: 9.68 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007346/0.4993, allocations: 6.013 MB / 1.514 GB, free: 3.648 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.4997, allocations: 15.88 kB / 1.514 GB, free: 3.633 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.5002, allocations: 182.7 kB / 1.514 GB, free: 3.453 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.5021, allocations: 0.8401 MB / 1.515 GB, free: 2.609 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.5029, allocations: 336 kB / 1.515 GB, free: 2.285 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.5037, allocations: 0.7174 MB / 1.516 GB, free: 1.566 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.5041, allocations: 219.2 kB / 1.516 GB, free: 1.348 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.5056, allocations: 0.7239 MB / 1.517 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.506, allocations: 263 kB / 1.517 GB, free: 372 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.5061, allocations: 20 kB / 1.517 GB, free: 352 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.5066, allocations: 287.3 kB / 1.517 GB, free: 64 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.5067, allocations: 115.6 kB / 1.517 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.5069, allocations: 131.3 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.5075, allocations: 474.2 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5075, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5075, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.5075, allocations: 3.938 kB / 1.518 GB, free: 15.35 MB / 1.217 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.0008288/0.5084, allocations: 0.5555 MB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5084, allocations: 8.031 kB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.5085, allocations: 58.55 kB / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.5087, allocations: 67.66 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.5092, allocations: 259.6 kB / 1.519 GB, free: 14.35 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.5092, allocations: 20.66 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.5093, allocations: 27.98 kB / 1.519 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.5098, allocations: 320.9 kB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5098, allocations: 4 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.5098, allocations: 8 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5098, allocations: 8 kB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.5102, allocations: 209.4 kB / 1.519 GB, free: 13.73 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.5116, allocations: 1.198 MB / 1.52 GB, free: 12.47 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.5119, allocations: 114.5 kB / 1.521 GB, free: 12.35 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.5121, allocations: 84.8 kB / 1.521 GB, free: 12.26 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/0.5125, allocations: 71.92 kB / 1.521 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5125, allocations: 34.55 kB / 1.521 GB, free: 12.15 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.5125, allocations: 0 / 1.521 GB, free: 12.15 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007128/0.5133, allocations: 269.6 kB / 1.521 GB, free: 11.88 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5133, allocations: 55.41 kB / 1.521 GB, free: 11.81 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.5136, allocations: 312.5 kB / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5136, allocations: 29.7 kB / 1.521 GB, free: 11.47 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5138, allocations: 184.2 kB / 1.522 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.5138, allocations: 51.53 kB / 1.522 GB, free: 11.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.5139, allocations: 41.7 kB / 1.522 GB, free: 11.19 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.514, allocations: 338.8 kB / 1.522 GB, free: 10.85 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5142, allocations: 55.95 kB / 1.522 GB, free: 10.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.5144, allocations: 190.1 kB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.5147, allocations: 184.9 kB / 1.522 GB, free: 10.37 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5147, allocations: 0 / 1.522 GB, free: 10.37 MB / 1.217 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004039/0.5151, allocations: 213.3 kB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5151, allocations: 4 kB / 1.523 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5151, allocations: 4 kB / 1.523 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5152, allocations: 4 kB / 1.523 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5153, allocations: 44.06 kB / 1.523 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5153, allocations: 3.938 kB / 1.523 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.5155, allocations: 27.84 kB / 1.523 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5155, allocations: 7.984 kB / 1.523 GB, free: 10.06 MB / 1.217 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.0001468/0.5157, allocations: 157.6 kB / 1.523 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.5157, allocations: 23.86 kB / 1.523 GB, free: 9.875 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.5161, allocations: 212.2 kB / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5161, allocations: 12.02 kB / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5161, allocations: 0 / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5161, allocations: 4 kB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5171, allocations: 0.628 MB / 1.524 GB, free: 8.945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5172, allocations: 4.219 kB / 1.524 GB, free: 8.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5173, allocations: 27.98 kB / 1.524 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5173, allocations: 4 kB / 1.524 GB, free: 8.91 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.5173, allocations: 7.938 kB / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5173, allocations: 0 / 1.524 GB, free: 8.902 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5173, allocations: 7.938 kB / 1.524 GB, free: 8.895 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.5177, allocations: 332.5 kB / 1.524 GB, free: 8.535 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.5178, allocations: 47.73 kB / 1.524 GB, free: 8.488 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.5179, allocations: 15.88 kB / 1.524 GB, free: 8.473 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.518, allocations: 11.98 kB / 1.524 GB, free: 8.461 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.518, allocations: 11.98 kB / 1.524 GB, free: 8.449 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5181, allocations: 12.06 kB / 1.524 GB, free: 8.438 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002149/0.5183, allocations: 223 kB / 1.524 GB, free: 8.219 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5183, allocations: 0 / 1.524 GB, free: 8.219 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003481/0.5186, allocations: 75.89 kB / 1.524 GB, free: 8.145 MB / 1.217 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.0008565/0.5195, allocations: 0.9093 MB / 1.525 GB, free: 7.184 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.5199, allocations: 156 kB / 1.525 GB, free: 7.031 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5199, allocations: 8.062 kB / 1.525 GB, free: 7.023 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.52, allocations: 75.83 kB / 1.526 GB, free: 6.949 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.5208, allocations: 148.3 kB / 1.526 GB, free: 6.809 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.5241, allocations: 2.802 MB / 1.528 GB, free: 3.848 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.5242, allocations: 171.8 kB / 1.529 GB, free: 3.664 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.5244, allocations: 66.92 kB / 1.529 GB, free: 3.598 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5245, allocations: 95.41 kB / 1.529 GB, free: 3.504 MB / 1.217 GB Notification: Performance of SimCode: time 3.91e-07/0.5245, allocations: 0 / 1.529 GB, free: 3.504 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.5618, allocations: 9.207 MB / 1.538 GB, free: 10.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.96, allocations: 3.938 kB / 1.538 GB, free: 10.56 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.370951978955418]