Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001595/0.001595, allocations: 103.6 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.001723/0.001723, allocations: 212.6 kB / 22.25 MB, free: 5.238 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.812 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.921/2.921, allocations: 476 MB / 0.7699 GB, free: 4.758 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.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_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.002123/0.002123, allocations: 68.09 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3025, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1907/0.4932, allocations: 142.2 MB / 1.421 GB, free: 13.76 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006783/0.5, allocations: 4.192 MB / 1.426 GB, free: 9.559 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.5004, allocations: 15.88 kB / 1.426 GB, free: 9.543 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.5009, allocations: 127.1 kB / 1.426 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.5019, allocations: 342.4 kB / 1.426 GB, free: 9.082 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.5029, allocations: 284.5 kB / 1.426 GB, free: 8.809 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.5037, allocations: 0.569 MB / 1.427 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.504, allocations: 160.9 kB / 1.427 GB, free: 8.082 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5051, allocations: 478.2 kB / 1.427 GB, free: 7.613 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.5054, allocations: 191.2 kB / 1.428 GB, free: 7.426 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.5055, allocations: 16 kB / 1.428 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.5057, allocations: 87.86 kB / 1.428 GB, free: 7.324 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.5058, allocations: 95.72 kB / 1.428 GB, free: 7.23 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.5059, allocations: 95.55 kB / 1.428 GB, free: 7.137 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.5064, allocations: 300.7 kB / 1.428 GB, free: 6.844 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5064, allocations: 4 kB / 1.428 GB, free: 6.84 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5064, allocations: 0 / 1.428 GB, free: 6.84 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5064, allocations: 0 / 1.428 GB, free: 6.84 MB / 1.123 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.0008921/0.5073, allocations: 476.7 kB / 1.429 GB, free: 6.344 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5073, allocations: 8.031 kB / 1.429 GB, free: 6.336 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.5074, allocations: 58.55 kB / 1.429 GB, free: 6.27 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.5074, allocations: 27.8 kB / 1.429 GB, free: 6.242 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.5079, allocations: 221.7 kB / 1.429 GB, free: 6 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5079, allocations: 12 kB / 1.429 GB, free: 5.988 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.508, allocations: 27.94 kB / 1.429 GB, free: 5.961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.5084, allocations: 261.9 kB / 1.429 GB, free: 5.668 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5085, allocations: 3.938 kB / 1.429 GB, free: 5.664 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.5085, allocations: 4 kB / 1.429 GB, free: 5.66 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5085, allocations: 8 kB / 1.429 GB, free: 5.652 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.5089, allocations: 151.8 kB / 1.429 GB, free: 5.504 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.5105, allocations: 1.3 MB / 1.431 GB, free: 4.121 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.5108, allocations: 175.7 kB / 1.431 GB, free: 3.895 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.511, allocations: 89.11 kB / 1.431 GB, free: 3.789 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.5113, allocations: 43.94 kB / 1.431 GB, free: 3.746 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.5113, allocations: 46.44 kB / 1.431 GB, free: 3.691 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.5113, allocations: 0 / 1.431 GB, free: 3.691 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.000656/0.512, allocations: 205.8 kB / 1.431 GB, free: 3.484 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.5121, allocations: 187.9 kB / 1.431 GB, free: 3.258 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.5125, allocations: 292.2 kB / 1.432 GB, free: 2.961 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.5125, allocations: 29.7 kB / 1.432 GB, free: 2.926 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.5126, allocations: 147.9 kB / 1.432 GB, free: 2.777 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.5127, allocations: 39.75 kB / 1.432 GB, free: 2.738 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.5127, allocations: 41.7 kB / 1.432 GB, free: 2.691 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5129, allocations: 330.8 kB / 1.432 GB, free: 2.359 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5131, allocations: 48.22 kB / 1.432 GB, free: 2.312 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.5134, allocations: 222.4 kB / 1.432 GB, free: 2.043 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.5137, allocations: 150.8 kB / 1.433 GB, free: 1.871 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5137, allocations: 4 kB / 1.433 GB, free: 1.867 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004162/0.5141, allocations: 197.2 kB / 1.433 GB, free: 1.668 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5141, allocations: 7.938 kB / 1.433 GB, free: 1.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.5141, allocations: 4 kB / 1.433 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5141, allocations: 7.938 kB / 1.433 GB, free: 1.648 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.5143, allocations: 31.92 kB / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5143, allocations: 0 / 1.433 GB, free: 1.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.5145, allocations: 35.98 kB / 1.433 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.5145, allocations: 12 kB / 1.433 GB, free: 1.57 MB / 1.123 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.0001516/0.5146, allocations: 149.8 kB / 1.433 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5148, allocations: 27.8 kB / 1.433 GB, free: 1.387 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.5151, allocations: 127.1 kB / 1.433 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5151, allocations: 0 / 1.433 GB, free: 1.254 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5151, allocations: 4 kB / 1.433 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5151, allocations: 0 / 1.433 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.5161, allocations: 0.733 MB / 1.434 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5161, allocations: 4 kB / 1.434 GB, free: 456 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5162, allocations: 28.11 kB / 1.434 GB, free: 428 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5162, allocations: 4 kB / 1.434 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5162, allocations: 0 / 1.434 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5163, allocations: 4 kB / 1.434 GB, free: 420 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5163, allocations: 3.938 kB / 1.434 GB, free: 416 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.5169, allocations: 339.6 kB / 1.434 GB, free: 44 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.517, allocations: 35.88 kB / 1.434 GB, free: 8 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.517, allocations: 4 kB / 1.434 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.5172, allocations: 8.031 kB / 1.434 GB, free: 15.99 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.5172, allocations: 15.88 kB / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5172, allocations: 4 kB / 1.434 GB, free: 15.98 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000261/0.5175, allocations: 211.1 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5175, allocations: 0 / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003791/0.5179, allocations: 59.89 kB / 1.435 GB, free: 15.71 MB / 1.139 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.00106/0.5189, allocations: 0.9037 MB / 1.435 GB, free: 14.77 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.5193, allocations: 128.3 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5193, allocations: 4.125 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.5195, allocations: 59.89 kB / 1.436 GB, free: 14.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.5203, allocations: 131.9 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.524, allocations: 2.594 MB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.5241, allocations: 146.2 kB / 1.438 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.5244, allocations: 54.23 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5245, allocations: 71.41 kB / 1.439 GB, free: 11.42 MB / 1.139 GB Notification: Performance of SimCode: time 8.92e-07/0.5245, allocations: 0 / 1.439 GB, free: 11.42 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05534/0.5798, allocations: 7.85 MB / 1.446 GB, free: 3.824 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.39, allocations: 5.453 kB / 1.446 GB, free: 3.824 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.508704476989806]