Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001454/0.001454, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001613/0.001613, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] 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 2.902/2.902, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001878/0.001878, allocations: 67.75 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 180.2 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1801/0.475, allocations: 164.9 MB / 1.514 GB, free: 2.863 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005764/0.4808, allocations: 4.63 MB / 1.518 GB, free: 14.22 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.4811, allocations: 11.88 kB / 1.518 GB, free: 14.21 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.4816, allocations: 123.1 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.4824, allocations: 350.4 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.4832, allocations: 298.5 kB / 1.519 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0007211/0.4839, allocations: 0.5729 MB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4842, allocations: 157.4 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.4857, allocations: 0.685 MB / 1.521 GB, free: 12.04 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.4861, allocations: 207.2 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.4861, allocations: 16 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.4863, allocations: 79.94 kB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.4864, allocations: 91.7 kB / 1.521 GB, free: 11.66 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.4865, allocations: 119.4 kB / 1.521 GB, free: 11.54 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.487, allocations: 306.8 kB / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.487, allocations: 0 / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.593e-06/0.487, allocations: 0 / 1.521 GB, free: 11.24 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.487, allocations: 0 / 1.521 GB, free: 11.24 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008189/0.4878, allocations: 476.8 kB / 1.522 GB, free: 10.74 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4878, allocations: 11.97 kB / 1.522 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.4879, allocations: 50.55 kB / 1.522 GB, free: 10.67 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.4879, allocations: 31.75 kB / 1.522 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.4883, allocations: 237.4 kB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4884, allocations: 16 kB / 1.522 GB, free: 10.37 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.4884, allocations: 16 kB / 1.522 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.4888, allocations: 262 kB / 1.522 GB, free: 10.06 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4888, allocations: 3.938 kB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4889, allocations: 8 kB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.4889, allocations: 8 kB / 1.522 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.4892, allocations: 147.8 kB / 1.523 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.4905, allocations: 1.339 MB / 1.524 GB, free: 8.473 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4908, allocations: 171.7 kB / 1.524 GB, free: 8.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.491, allocations: 93.11 kB / 1.524 GB, free: 8.141 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.4913, allocations: 39.94 kB / 1.524 GB, free: 8.102 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4913, allocations: 58.44 kB / 1.524 GB, free: 8.035 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.4913, allocations: 0 / 1.524 GB, free: 8.035 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005715/0.4919, allocations: 202 kB / 1.524 GB, free: 7.832 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.492, allocations: 191.9 kB / 1.525 GB, free: 7.602 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.4923, allocations: 284.2 kB / 1.525 GB, free: 7.312 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4923, allocations: 29.7 kB / 1.525 GB, free: 7.277 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4924, allocations: 151.9 kB / 1.525 GB, free: 7.125 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.4924, allocations: 35.69 kB / 1.525 GB, free: 7.09 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.4925, allocations: 37.7 kB / 1.525 GB, free: 7.047 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4926, allocations: 338.8 kB / 1.525 GB, free: 6.707 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4928, allocations: 43.97 kB / 1.525 GB, free: 6.664 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.4929, allocations: 111.7 kB / 1.526 GB, free: 6.527 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.4932, allocations: 162.7 kB / 1.526 GB, free: 6.344 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4932, allocations: 0 / 1.526 GB, free: 6.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003567/0.4936, allocations: 189.2 kB / 1.526 GB, free: 6.152 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4936, allocations: 8 kB / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4936, allocations: 0 / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4936, allocations: 4 kB / 1.526 GB, free: 6.141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.4937, allocations: 36.2 kB / 1.526 GB, free: 6.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.4937, allocations: 7.875 kB / 1.526 GB, free: 6.098 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.4939, allocations: 31.77 kB / 1.526 GB, free: 6.066 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4939, allocations: 8 kB / 1.526 GB, free: 6.059 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001241/0.494, allocations: 145.8 kB / 1.526 GB, free: 5.906 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4942, allocations: 27.8 kB / 1.526 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.4945, allocations: 139.3 kB / 1.526 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4945, allocations: 4.062 kB / 1.526 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4945, allocations: 4 kB / 1.526 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4945, allocations: 0 / 1.526 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.4953, allocations: 0.7487 MB / 1.527 GB, free: 4.906 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4953, allocations: 4 kB / 1.527 GB, free: 4.902 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4954, allocations: 27.92 kB / 1.527 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.4954, allocations: 4 kB / 1.527 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4955, allocations: 0 / 1.527 GB, free: 4.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4955, allocations: 4 kB / 1.527 GB, free: 4.867 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4955, allocations: 0 / 1.527 GB, free: 4.867 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.496, allocations: 339.6 kB / 1.527 GB, free: 4.504 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.496, allocations: 31.88 kB / 1.527 GB, free: 4.473 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4961, allocations: 4 kB / 1.527 GB, free: 4.469 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.4962, allocations: 16.05 kB / 1.527 GB, free: 4.453 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.4962, allocations: 15.86 kB / 1.527 GB, free: 4.438 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.4962, allocations: 4 kB / 1.527 GB, free: 4.434 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001994/0.4964, allocations: 211.1 kB / 1.528 GB, free: 4.227 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.4964, allocations: 0 / 1.528 GB, free: 4.227 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003261/0.4968, allocations: 59.89 kB / 1.528 GB, free: 4.168 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0009247/0.4977, allocations: 0.8882 MB / 1.529 GB, free: 3.238 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.498, allocations: 119.8 kB / 1.529 GB, free: 3.121 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.498, allocations: 0 / 1.529 GB, free: 3.121 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4982, allocations: 60.58 kB / 1.529 GB, free: 3.062 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.4989, allocations: 143.9 kB / 1.529 GB, free: 2.926 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.502, allocations: 2.61 MB / 1.531 GB, free: 168 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.5024, allocations: 0.7558 MB / 1.532 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.5025, allocations: 50.25 kB / 1.532 GB, free: 15.34 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5026, allocations: 71.41 kB / 1.532 GB, free: 15.27 MB / 1.232 GB Notification: Performance of SimCode: time 4.31e-07/0.5026, allocations: 0 / 1.532 GB, free: 15.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.537, allocations: 7.034 MB / 1.539 GB, free: 8.418 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.992/10.53, allocations: 5.562 kB / 1.539 GB, free: 8.414 MB / 1.232 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.524227281000094]