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.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001735/0.001735, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.397/1.397, 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 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.07/3.07, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002049/0.002049, allocations: 66.41 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3153, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1684/0.4836, allocations: 142.2 MB / 1.464 GB, free: 3.59 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.4892, allocations: 4.201 MB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.4895, allocations: 11.88 kB / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.4899, allocations: 127 kB / 1.468 GB, free: 15.25 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008375/0.4908, allocations: 338.4 kB / 1.469 GB, free: 14.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.4915, allocations: 286.2 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.4922, allocations: 0.569 MB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.4924, allocations: 157.4 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4939, allocations: 0.6655 MB / 1.47 GB, free: 13.24 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.4942, allocations: 187.2 kB / 1.47 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.4943, allocations: 20 kB / 1.47 GB, free: 13.04 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.4945, allocations: 87.91 kB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4946, allocations: 91.72 kB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.4947, allocations: 91.61 kB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.4951, allocations: 306.7 kB / 1.471 GB, free: 12.47 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.4951, allocations: 4 kB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4951, allocations: 0 / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4952, allocations: 0 / 1.471 GB, free: 12.46 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.0008567/0.496, allocations: 472.8 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4961, allocations: 15.97 kB / 1.471 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.4961, allocations: 54.55 kB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4962, allocations: 31.8 kB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.4966, allocations: 229.6 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4966, allocations: 12 kB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.4967, allocations: 24 kB / 1.472 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.4971, allocations: 265.6 kB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4971, allocations: 3.938 kB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.4971, allocations: 7.938 kB / 1.472 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.4971, allocations: 8 kB / 1.472 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.4975, allocations: 147.8 kB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.4988, allocations: 1.301 MB / 1.473 GB, free: 9.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.4992, allocations: 175.7 kB / 1.474 GB, free: 9.504 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.4993, allocations: 89.11 kB / 1.474 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.4996, allocations: 39.95 kB / 1.474 GB, free: 9.359 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4997, allocations: 50.42 kB / 1.474 GB, free: 9.301 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4997, allocations: 0 / 1.474 GB, free: 9.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006006/0.5003, allocations: 201.9 kB / 1.474 GB, free: 9.098 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5004, allocations: 195.9 kB / 1.474 GB, free: 8.863 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.5007, allocations: 288.2 kB / 1.474 GB, free: 8.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5007, allocations: 29.7 kB / 1.474 GB, free: 8.539 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5008, allocations: 147.9 kB / 1.475 GB, free: 8.391 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.5009, allocations: 39.69 kB / 1.475 GB, free: 8.352 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.5009, allocations: 37.7 kB / 1.475 GB, free: 8.309 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5011, allocations: 334.8 kB / 1.475 GB, free: 7.973 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5012, allocations: 47.95 kB / 1.475 GB, free: 7.926 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.5014, allocations: 222.4 kB / 1.475 GB, free: 7.656 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.5017, allocations: 150.7 kB / 1.475 GB, free: 7.484 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5017, allocations: 4 kB / 1.475 GB, free: 7.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000377/0.5021, allocations: 193.2 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5021, allocations: 7.984 kB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5021, allocations: 4 kB / 1.476 GB, free: 7.273 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5022, allocations: 4 kB / 1.476 GB, free: 7.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5023, allocations: 31.92 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5023, allocations: 0 / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.5025, allocations: 36.36 kB / 1.476 GB, free: 7.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.5025, allocations: 8 kB / 1.476 GB, free: 7.195 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.0001376/0.5026, allocations: 145.8 kB / 1.476 GB, free: 7.043 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.5028, allocations: 35.72 kB / 1.476 GB, free: 7.008 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.5031, allocations: 131.1 kB / 1.476 GB, free: 6.867 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5031, allocations: 3.938 kB / 1.476 GB, free: 6.863 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5031, allocations: 4 kB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5031, allocations: 0 / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.5039, allocations: 0.733 MB / 1.477 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5039, allocations: 7.938 kB / 1.477 GB, free: 6.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.5041, allocations: 27.97 kB / 1.477 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5041, allocations: 4 kB / 1.477 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5041, allocations: 0 / 1.477 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5041, allocations: 4 kB / 1.477 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5041, allocations: 0 / 1.477 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.5046, allocations: 343.6 kB / 1.477 GB, free: 5.648 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.5047, allocations: 35.88 kB / 1.477 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.5048, allocations: 4 kB / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5049, allocations: 7.984 kB / 1.477 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.5049, allocations: 15.92 kB / 1.477 GB, free: 5.586 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5049, allocations: 4 kB / 1.477 GB, free: 5.582 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002075/0.5051, allocations: 211.1 kB / 1.477 GB, free: 5.379 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5051, allocations: 0 / 1.477 GB, free: 5.379 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003364/0.5055, allocations: 63.95 kB / 1.477 GB, free: 5.316 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.0009295/0.5064, allocations: 0.8882 MB / 1.478 GB, free: 4.387 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.5068, allocations: 120.2 kB / 1.478 GB, free: 4.27 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5068, allocations: 4.062 kB / 1.478 GB, free: 4.266 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.5069, allocations: 59.89 kB / 1.478 GB, free: 4.207 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.5077, allocations: 137.4 kB / 1.479 GB, free: 4.078 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.5109, allocations: 2.606 MB / 1.481 GB, free: 1.32 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.511, allocations: 146.2 kB / 1.481 GB, free: 1.16 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.5112, allocations: 54.17 kB / 1.481 GB, free: 1.105 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5113, allocations: 67.42 kB / 1.481 GB, free: 1.039 MB / 1.17 GB Notification: Performance of SimCode: time 6.11e-07/0.5113, allocations: 4 kB / 1.481 GB, free: 1.035 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.5472, allocations: 7.844 MB / 1.489 GB, free: 9.441 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.57, allocations: 7.938 kB / 1.489 GB, free: 9.434 MB / 1.186 GB " [Timeout remaining time 288] (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.987573459744453]