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.00157/0.00157, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002111/0.002111, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.778/2.778, allocations: 476.7 MB / 0.7672 GB, free: 5.426 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.002051/0.002051, allocations: 67.91 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8504/0.8524, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1983/1.051, allocations: 164.8 MB / 1.439 GB, free: 8.055 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00631/1.057, allocations: 4.579 MB / 1.444 GB, free: 3.469 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/1.057, allocations: 11.88 kB / 1.444 GB, free: 3.457 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005388/1.058, allocations: 119.1 kB / 1.444 GB, free: 3.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001118/1.059, allocations: 354.4 kB / 1.444 GB, free: 2.992 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000965/1.06, allocations: 278.7 kB / 1.444 GB, free: 2.723 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/1.061, allocations: 0.5612 MB / 1.445 GB, free: 2.156 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/1.061, allocations: 177.2 kB / 1.445 GB, free: 1.977 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/1.063, allocations: 466.3 kB / 1.446 GB, free: 1.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/1.063, allocations: 203.2 kB / 1.446 GB, free: 1.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/1.063, allocations: 23.88 kB / 1.446 GB, free: 1.297 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/1.063, allocations: 87.91 kB / 1.446 GB, free: 1.211 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/1.063, allocations: 83.8 kB / 1.446 GB, free: 1.129 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/1.064, allocations: 123.3 kB / 1.446 GB, free: 1.008 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004759/1.064, allocations: 300.8 kB / 1.446 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.064, allocations: 0 / 1.446 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of FrontEnd: time 8.91e-07/1.064, allocations: 0 / 1.446 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.073e-05/1.064, allocations: 0 / 1.446 GB, free: 0.7148 MB / 1.139 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.0009982/1.065, allocations: 0.5448 MB / 1.447 GB, free: 124 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.065, allocations: 8.031 kB / 1.447 GB, free: 116 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/1.065, allocations: 54.55 kB / 1.447 GB, free: 52 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/1.065, allocations: 27.8 kB / 1.447 GB, free: 24 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/1.066, allocations: 299.3 kB / 1.447 GB, free: 15.69 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.066, allocations: 16 kB / 1.447 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/1.066, allocations: 20 kB / 1.447 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/1.066, allocations: 265.8 kB / 1.448 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.066, allocations: 7.938 kB / 1.448 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/1.066, allocations: 12 kB / 1.448 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.066, allocations: 8 kB / 1.448 GB, free: 15.33 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/1.067, allocations: 147.8 kB / 1.448 GB, free: 15.19 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/1.068, allocations: 1.368 MB / 1.449 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/1.069, allocations: 171.7 kB / 1.449 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/1.069, allocations: 89.11 kB / 1.449 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/1.069, allocations: 121 kB / 1.449 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/1.069, allocations: 46.44 kB / 1.449 GB, free: 13.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/1.069, allocations: 0 / 1.449 GB, free: 13.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006645/1.07, allocations: 209.7 kB / 1.45 GB, free: 13 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.07, allocations: 187.9 kB / 1.45 GB, free: 12.77 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/1.07, allocations: 283 kB / 1.45 GB, free: 12.49 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/1.07, allocations: 33.7 kB / 1.45 GB, free: 12.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/1.07, allocations: 144 kB / 1.45 GB, free: 12.31 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/1.07, allocations: 35.84 kB / 1.45 GB, free: 12.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/1.071, allocations: 49.59 kB / 1.45 GB, free: 12.22 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.071, allocations: 334.8 kB / 1.451 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/1.071, allocations: 43.97 kB / 1.451 GB, free: 11.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/1.071, allocations: 121.9 kB / 1.451 GB, free: 11.7 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/1.071, allocations: 150.8 kB / 1.451 GB, free: 11.52 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.071, allocations: 0 / 1.451 GB, free: 11.52 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00042/1.072, allocations: 193.2 kB / 1.451 GB, free: 11.33 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.072, allocations: 8 kB / 1.451 GB, free: 11.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.072, allocations: 8.156 kB / 1.451 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.072, allocations: 4 kB / 1.451 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/1.072, allocations: 31.92 kB / 1.451 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.072, allocations: 4 kB / 1.451 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/1.072, allocations: 27.83 kB / 1.451 GB, free: 11.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/1.072, allocations: 8 kB / 1.451 GB, free: 11.24 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.0001485/1.072, allocations: 153.7 kB / 1.451 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.072, allocations: 27.8 kB / 1.451 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003808/1.073, allocations: 139.3 kB / 1.452 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.073, allocations: 4 kB / 1.452 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.073, allocations: 0 / 1.452 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.073, allocations: 4 kB / 1.452 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/1.074, allocations: 0.7691 MB / 1.452 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.074, allocations: 4 kB / 1.452 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.074, allocations: 19.98 kB / 1.452 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/1.074, allocations: 4 kB / 1.452 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.074, allocations: 4 kB / 1.452 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.074, allocations: 4 kB / 1.452 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.074, allocations: 0 / 1.452 GB, free: 10.02 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/1.074, allocations: 351.6 kB / 1.453 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.075, allocations: 113 kB / 1.453 GB, free: 9.516 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/1.075, allocations: 7.984 kB / 1.453 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/1.075, allocations: 4 kB / 1.453 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/1.075, allocations: 15.92 kB / 1.453 GB, free: 9.488 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/1.075, allocations: 4 kB / 1.453 GB, free: 9.484 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000225/1.075, allocations: 209.9 kB / 1.453 GB, free: 9.277 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0 / 1.453 GB, free: 9.277 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003581/1.075, allocations: 55.94 kB / 1.453 GB, free: 9.223 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.0009849/1.076, allocations: 0.9039 MB / 1.454 GB, free: 8.277 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003815/1.077, allocations: 119.7 kB / 1.454 GB, free: 8.16 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.077, allocations: 0.5 kB / 1.454 GB, free: 8.16 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/1.077, allocations: 63.89 kB / 1.454 GB, free: 8.098 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/1.078, allocations: 130.3 kB / 1.454 GB, free: 7.973 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/1.081, allocations: 2.625 MB / 1.457 GB, free: 5.199 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/1.082, allocations: 0.7558 MB / 1.458 GB, free: 4.418 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001558/1.082, allocations: 46.27 kB / 1.458 GB, free: 4.375 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.082, allocations: 67.41 kB / 1.458 GB, free: 4.309 MB / 1.154 GB Notification: Performance of SimCode: time 4.3e-07/1.082, allocations: 4 kB / 1.458 GB, free: 4.305 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/1.118, allocations: 6.859 MB / 1.464 GB, free: 13.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.732, allocations: 0 / 1.464 GB, free: 13.6 MB / 1.17 GB " [Timeout remaining time 290] (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: 15.970977311953902]