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.002023/0.002023, allocations: 113 kB / 18.94 MB, free: 2.934 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.002108/0.002108, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 8.02 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.785/2.785, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] 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.002122/0.002122, allocations: 64.62 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 170 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1904/0.5317, allocations: 164.9 MB / 1.444 GB, free: 6.246 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006418/0.5381, allocations: 4.614 MB / 1.449 GB, free: 1.617 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.5386, allocations: 11.88 kB / 1.449 GB, free: 1.605 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.5391, allocations: 131.1 kB / 1.449 GB, free: 1.477 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.54, allocations: 354.4 kB / 1.449 GB, free: 1.129 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.5409, allocations: 295.8 kB / 1.45 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.5416, allocations: 0.5729 MB / 1.45 GB, free: 272 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.5419, allocations: 157.4 kB / 1.45 GB, free: 116 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.5429, allocations: 482.3 kB / 1.451 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.5432, allocations: 207.2 kB / 1.451 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.5432, allocations: 16 kB / 1.451 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.5434, allocations: 91.84 kB / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5435, allocations: 91.72 kB / 1.451 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.5437, allocations: 115.4 kB / 1.451 GB, free: 15.13 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.5441, allocations: 295 kB / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5441, allocations: 8 kB / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5441, allocations: 0 / 1.452 GB, free: 14.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5441, allocations: 0 / 1.452 GB, free: 14.84 MB / 1.154 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.000875/0.545, allocations: 480.7 kB / 1.452 GB, free: 14.34 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.545, allocations: 8.031 kB / 1.452 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.5451, allocations: 58.55 kB / 1.452 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.5451, allocations: 27.8 kB / 1.452 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.5456, allocations: 225.6 kB / 1.452 GB, free: 13.99 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5456, allocations: 16 kB / 1.452 GB, free: 13.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.5456, allocations: 20 kB / 1.452 GB, free: 13.95 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.5461, allocations: 261.9 kB / 1.453 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5461, allocations: 7.875 kB / 1.453 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.5462, allocations: 8 kB / 1.453 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5462, allocations: 8 kB / 1.453 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.5465, allocations: 147.8 kB / 1.453 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.548, allocations: 1.324 MB / 1.454 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.5483, allocations: 175.7 kB / 1.454 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.5485, allocations: 101 kB / 1.454 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.5488, allocations: 35.94 kB / 1.454 GB, free: 11.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.5488, allocations: 50.44 kB / 1.454 GB, free: 11.65 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.5488, allocations: 0 / 1.454 GB, free: 11.65 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006353/0.5495, allocations: 213.8 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5496, allocations: 184 kB / 1.455 GB, free: 11.21 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5499, allocations: 292.2 kB / 1.455 GB, free: 10.91 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.5499, allocations: 29.7 kB / 1.455 GB, free: 10.88 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.55, allocations: 147.9 kB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.55, allocations: 39.62 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.5501, allocations: 33.72 kB / 1.455 GB, free: 10.65 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5503, allocations: 334.8 kB / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5504, allocations: 51.95 kB / 1.456 GB, free: 10.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.5506, allocations: 118.7 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.5509, allocations: 154.7 kB / 1.456 GB, free: 9.949 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5509, allocations: 4 kB / 1.456 GB, free: 9.945 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000373/0.5512, allocations: 189.3 kB / 1.456 GB, free: 9.754 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5513, allocations: 4 kB / 1.456 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5513, allocations: 7.938 kB / 1.456 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.5513, allocations: 0 / 1.456 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.5515, allocations: 32.5 kB / 1.456 GB, free: 9.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.5515, allocations: 8 kB / 1.456 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.5516, allocations: 39.77 kB / 1.456 GB, free: 9.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.5517, allocations: 4 kB / 1.456 GB, free: 9.66 MB / 1.154 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.0001614/0.5518, allocations: 149.8 kB / 1.456 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.552, allocations: 27.8 kB / 1.456 GB, free: 9.477 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.5523, allocations: 131.1 kB / 1.457 GB, free: 9.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5523, allocations: 4 kB / 1.457 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5523, allocations: 4 kB / 1.457 GB, free: 9.332 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5523, allocations: 3.938 kB / 1.457 GB, free: 9.328 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.5532, allocations: 0.741 MB / 1.457 GB, free: 8.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5532, allocations: 4.031 kB / 1.457 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5533, allocations: 23.98 kB / 1.457 GB, free: 8.492 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5533, allocations: 3.938 kB / 1.457 GB, free: 8.488 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5534, allocations: 8 kB / 1.457 GB, free: 8.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5534, allocations: 0 / 1.457 GB, free: 8.48 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.5534, allocations: 7.984 kB / 1.457 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.5539, allocations: 335.4 kB / 1.458 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.554, allocations: 43.86 kB / 1.458 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.554, allocations: 4 kB / 1.458 GB, free: 8.066 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5542, allocations: 8.062 kB / 1.458 GB, free: 8.059 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.5542, allocations: 15.92 kB / 1.458 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.5542, allocations: 4 kB / 1.458 GB, free: 8.039 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002258/0.5544, allocations: 215 kB / 1.458 GB, free: 7.828 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5544, allocations: 0 / 1.458 GB, free: 7.828 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003581/0.5548, allocations: 55.92 kB / 1.458 GB, free: 7.773 MB / 1.154 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.0009778/0.5558, allocations: 0.9043 MB / 1.459 GB, free: 6.828 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.5561, allocations: 115.8 kB / 1.459 GB, free: 6.715 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5561, allocations: 0 / 1.459 GB, free: 6.715 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.5563, allocations: 60.78 kB / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.557, allocations: 141.8 kB / 1.459 GB, free: 6.523 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.5603, allocations: 2.602 MB / 1.462 GB, free: 3.77 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.5607, allocations: 0.7518 MB / 1.462 GB, free: 2.992 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.5609, allocations: 58.19 kB / 1.463 GB, free: 2.938 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.561, allocations: 63.42 kB / 1.463 GB, free: 2.875 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/0.561, allocations: 3.938 kB / 1.463 GB, free: 2.871 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.598, allocations: 7.023 MB / 1.469 GB, free: 12.05 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.78, allocations: 12.11 kB / 1.469 GB, free: 12.04 MB / 1.17 GB " [Timeout remaining time 288] (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: 18.673248478999085]