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.001581/0.001581, allocations: 106.6 kB / 16.45 MB, free: 6.508 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.00171/0.00171, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.046/3.046, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.001959/0.001959, allocations: 75.8 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 176.1 MB / 1.321 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1919/0.5001, allocations: 164.8 MB / 1.482 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006435/0.5065, allocations: 4.586 MB / 1.486 GB, free: 9.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.5069, allocations: 15.88 kB / 1.486 GB, free: 9.254 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.5074, allocations: 131 kB / 1.486 GB, free: 9.125 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009232/0.5083, allocations: 342.4 kB / 1.487 GB, free: 8.789 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.5091, allocations: 277.7 kB / 1.487 GB, free: 8.52 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007642/0.5099, allocations: 0.5573 MB / 1.487 GB, free: 7.961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.5102, allocations: 173.2 kB / 1.488 GB, free: 7.789 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.5118, allocations: 0.6811 MB / 1.488 GB, free: 7.105 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.5122, allocations: 207.2 kB / 1.489 GB, free: 6.902 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.5122, allocations: 16 kB / 1.489 GB, free: 6.887 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.5124, allocations: 75.94 kB / 1.489 GB, free: 6.812 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.5125, allocations: 95.7 kB / 1.489 GB, free: 6.719 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.5127, allocations: 111.4 kB / 1.489 GB, free: 6.609 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.5131, allocations: 302.8 kB / 1.489 GB, free: 6.312 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5131, allocations: 0 / 1.489 GB, free: 6.312 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5131, allocations: 4 kB / 1.489 GB, free: 6.309 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.5131, allocations: 0 / 1.489 GB, free: 6.309 MB / 1.186 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.000861/0.514, allocations: 0.5409 MB / 1.49 GB, free: 5.719 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.514, allocations: 11.98 kB / 1.49 GB, free: 5.707 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.5141, allocations: 54.55 kB / 1.49 GB, free: 5.645 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.5141, allocations: 27.8 kB / 1.49 GB, free: 5.617 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.5146, allocations: 299.4 kB / 1.49 GB, free: 5.285 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5146, allocations: 15.94 kB / 1.49 GB, free: 5.27 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.5146, allocations: 20 kB / 1.49 GB, free: 5.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.5151, allocations: 265.6 kB / 1.49 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5151, allocations: 3.938 kB / 1.49 GB, free: 4.949 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.5151, allocations: 8 kB / 1.49 GB, free: 4.941 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5151, allocations: 4 kB / 1.49 GB, free: 4.938 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.5155, allocations: 155.8 kB / 1.49 GB, free: 4.785 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.5169, allocations: 1.364 MB / 1.492 GB, free: 3.328 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.5172, allocations: 175.7 kB / 1.492 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.5174, allocations: 97.11 kB / 1.492 GB, free: 2.988 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.5177, allocations: 117 kB / 1.492 GB, free: 2.855 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.5178, allocations: 46.44 kB / 1.492 GB, free: 2.801 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.5178, allocations: 0 / 1.492 GB, free: 2.801 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006145/0.5184, allocations: 205.3 kB / 1.492 GB, free: 2.594 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.5185, allocations: 196.5 kB / 1.493 GB, free: 2.359 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.5188, allocations: 287 kB / 1.493 GB, free: 2.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.5188, allocations: 25.7 kB / 1.493 GB, free: 2.039 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.519, allocations: 155.9 kB / 1.493 GB, free: 1.883 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.519, allocations: 39.69 kB / 1.493 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.5191, allocations: 37.7 kB / 1.493 GB, free: 1.801 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5192, allocations: 330.8 kB / 1.493 GB, free: 1.469 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.5194, allocations: 47.97 kB / 1.493 GB, free: 1.422 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.5196, allocations: 119.6 kB / 1.494 GB, free: 1.277 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.5199, allocations: 150.8 kB / 1.494 GB, free: 1.105 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5199, allocations: 0 / 1.494 GB, free: 1.105 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004208/0.5203, allocations: 205.2 kB / 1.494 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.5203, allocations: 4 kB / 1.494 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5203, allocations: 4 kB / 1.494 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5203, allocations: 0 / 1.494 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5205, allocations: 31.92 kB / 1.494 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5205, allocations: 4 kB / 1.494 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5206, allocations: 35.98 kB / 1.494 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.5206, allocations: 8 kB / 1.494 GB, free: 0.8125 MB / 1.186 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.0001401/0.5208, allocations: 145.8 kB / 1.494 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5209, allocations: 27.8 kB / 1.494 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.5213, allocations: 131.3 kB / 1.494 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.5213, allocations: 4 kB / 1.494 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5213, allocations: 8 kB / 1.494 GB, free: 496 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5213, allocations: 4.031 kB / 1.494 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/0.5222, allocations: 0.7807 MB / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5222, allocations: 0 / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.5223, allocations: 24.14 kB / 1.495 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.5223, allocations: 4 kB / 1.495 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5223, allocations: 4 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5223, allocations: 0 / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5223, allocations: 3.984 kB / 1.495 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.5229, allocations: 343.5 kB / 1.495 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.523, allocations: 108.9 kB / 1.496 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.523, allocations: 4 kB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5231, allocations: 8 kB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.5232, allocations: 19.98 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5232, allocations: 4 kB / 1.496 GB, free: 15.06 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000223/0.5234, allocations: 206 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5234, allocations: 3.938 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003388/0.5238, allocations: 63.88 kB / 1.496 GB, free: 14.79 MB / 1.201 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.0009939/0.5248, allocations: 0.8959 MB / 1.497 GB, free: 13.86 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.5251, allocations: 119.9 kB / 1.497 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5251, allocations: 0 / 1.497 GB, free: 13.74 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.5253, allocations: 55.91 kB / 1.497 GB, free: 13.68 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.526, allocations: 134.9 kB / 1.497 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.5294, allocations: 2.609 MB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.5298, allocations: 0.7597 MB / 1.5 GB, free: 10.01 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.5299, allocations: 50.25 kB / 1.5 GB, free: 9.965 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.53, allocations: 71.41 kB / 1.5 GB, free: 9.895 MB / 1.201 GB Notification: Performance of SimCode: time 3.9e-07/0.53, allocations: 0 / 1.5 GB, free: 9.895 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.5619, allocations: 6.849 MB / 1.507 GB, free: 3.199 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.704, allocations: 11.05 kB / 1.507 GB, free: 3.191 MB / 1.201 GB " [Timeout remaining time 291] (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: 14.975475223967806]