Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001323/0.001323, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001476/0.001476, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.058/3.058, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_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.001944/0.001944, allocations: 66.8 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3218, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1759/0.4978, allocations: 142.2 MB / 1.465 GB, free: 2.707 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005913/0.5037, allocations: 4.185 MB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000377/0.504, allocations: 11.88 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.5045, allocations: 127 kB / 1.469 GB, free: 14.38 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009116/0.5054, allocations: 338.5 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000842/0.5062, allocations: 290.9 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000713/0.507, allocations: 0.569 MB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.5073, allocations: 165.4 kB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.5088, allocations: 0.6694 MB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.5091, allocations: 199.2 kB / 1.471 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.5092, allocations: 19.94 kB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.5094, allocations: 83.92 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.5095, allocations: 91.73 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.5096, allocations: 99.58 kB / 1.471 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.51, allocations: 306.7 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.51, allocations: 0 / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/0.51, allocations: 0 / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5101, allocations: 4 kB / 1.472 GB, free: 11.57 MB / 1.17 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.0008429/0.5109, allocations: 470.7 kB / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5109, allocations: 8.031 kB / 1.472 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/0.511, allocations: 50.55 kB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.5111, allocations: 31.8 kB / 1.472 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.5115, allocations: 241.5 kB / 1.472 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5115, allocations: 15.94 kB / 1.472 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.5116, allocations: 16 kB / 1.473 GB, free: 10.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.512, allocations: 269.6 kB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.512, allocations: 3.938 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.512, allocations: 4 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.5121, allocations: 8 kB / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.5124, allocations: 151.8 kB / 1.473 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.5138, allocations: 1.285 MB / 1.474 GB, free: 8.852 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.5142, allocations: 175.7 kB / 1.474 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.5144, allocations: 93.11 kB / 1.474 GB, free: 8.516 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.5147, allocations: 39.94 kB / 1.474 GB, free: 8.477 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.5147, allocations: 46.44 kB / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.5147, allocations: 0 / 1.475 GB, free: 8.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006763/0.5154, allocations: 213.6 kB / 1.475 GB, free: 8.207 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.5155, allocations: 183.9 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003312/0.5159, allocations: 292.2 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5159, allocations: 29.7 kB / 1.475 GB, free: 7.656 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.516, allocations: 147.9 kB / 1.475 GB, free: 7.508 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.5161, allocations: 35.77 kB / 1.475 GB, free: 7.473 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.5161, allocations: 37.7 kB / 1.475 GB, free: 7.43 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5163, allocations: 343.1 kB / 1.476 GB, free: 7.086 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5164, allocations: 47.95 kB / 1.476 GB, free: 7.039 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.5167, allocations: 222.4 kB / 1.476 GB, free: 6.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.517, allocations: 155 kB / 1.476 GB, free: 6.594 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.517, allocations: 0 / 1.476 GB, free: 6.594 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000398/0.5174, allocations: 197.2 kB / 1.476 GB, free: 6.395 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5174, allocations: 4 kB / 1.476 GB, free: 6.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5174, allocations: 8.156 kB / 1.476 GB, free: 6.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5175, allocations: 4 kB / 1.476 GB, free: 6.379 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.5176, allocations: 35.91 kB / 1.476 GB, free: 6.344 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5176, allocations: 4 kB / 1.476 GB, free: 6.34 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.5178, allocations: 31.83 kB / 1.476 GB, free: 6.309 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.5178, allocations: 4 kB / 1.476 GB, free: 6.305 MB / 1.17 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.0001537/0.518, allocations: 153.8 kB / 1.477 GB, free: 6.145 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.5181, allocations: 27.8 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.5184, allocations: 135.1 kB / 1.477 GB, free: 5.973 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.5184, allocations: 7.922 kB / 1.477 GB, free: 5.965 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5185, allocations: 4 kB / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5185, allocations: 0 / 1.477 GB, free: 5.961 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.5194, allocations: 0.7291 MB / 1.477 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5194, allocations: 4 kB / 1.477 GB, free: 5.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.5195, allocations: 19.98 kB / 1.477 GB, free: 5.141 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.5195, allocations: 4 kB / 1.477 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5195, allocations: 12.28 kB / 1.477 GB, free: 5.125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5195, allocations: 4 kB / 1.477 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5195, allocations: 0 / 1.477 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.5201, allocations: 339.4 kB / 1.478 GB, free: 4.758 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.5202, allocations: 35.88 kB / 1.478 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.5202, allocations: 7.984 kB / 1.478 GB, free: 4.715 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5203, allocations: 4 kB / 1.478 GB, free: 4.711 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.5204, allocations: 19.98 kB / 1.478 GB, free: 4.691 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5204, allocations: 4 kB / 1.478 GB, free: 4.688 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002195/0.5206, allocations: 211.1 kB / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5206, allocations: 0 / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003624/0.521, allocations: 63.88 kB / 1.478 GB, free: 4.422 MB / 1.17 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.000971/0.5219, allocations: 0.8844 MB / 1.479 GB, free: 3.496 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.5223, allocations: 123.8 kB / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5223, allocations: 4 kB / 1.479 GB, free: 3.371 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5224, allocations: 55.91 kB / 1.479 GB, free: 3.316 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.5232, allocations: 132.1 kB / 1.479 GB, free: 3.191 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.5266, allocations: 2.606 MB / 1.482 GB, free: 444 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.5267, allocations: 150.2 kB / 1.482 GB, free: 276 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000174/0.5269, allocations: 54.25 kB / 1.482 GB, free: 220 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.527, allocations: 67.42 kB / 1.482 GB, free: 152 kB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/0.527, allocations: 0 / 1.482 GB, free: 152 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/0.567, allocations: 7.9 MB / 1.49 GB, free: 8.492 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.3, allocations: 0 / 1.49 GB, free: 8.492 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.726298689987743]