Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001483/0.001483, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001887/0.001887, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.801 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 2.997/2.997, allocations: 0.4892 GB / 0.7943 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.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001916/0.001916, allocations: 63.88 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 176.1 MB / 1.325 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1846/0.5072, allocations: 147.8 MB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008525/0.5157, allocations: 6.009 MB / 1.475 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005172/0.5162, allocations: 15.88 kB / 1.475 GB, free: 7.863 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.5169, allocations: 174.7 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.5192, allocations: 0.8363 MB / 1.476 GB, free: 6.852 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.5202, allocations: 342.1 kB / 1.477 GB, free: 6.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.5212, allocations: 0.7135 MB / 1.477 GB, free: 5.805 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.5217, allocations: 223.2 kB / 1.478 GB, free: 5.582 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.5234, allocations: 0.7239 MB / 1.478 GB, free: 4.855 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.5239, allocations: 263 kB / 1.478 GB, free: 4.598 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.524, allocations: 24 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006113/0.5246, allocations: 287.3 kB / 1.479 GB, free: 4.293 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.5248, allocations: 115.6 kB / 1.479 GB, free: 4.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.5249, allocations: 127.3 kB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.5257, allocations: 470.2 kB / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5257, allocations: 0 / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5257, allocations: 0 / 1.479 GB, free: 3.594 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.5257, allocations: 3.938 kB / 1.479 GB, free: 3.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009387/0.5267, allocations: 0.5594 MB / 1.48 GB, free: 3 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5267, allocations: 8.031 kB / 1.48 GB, free: 2.992 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.5268, allocations: 58.55 kB / 1.48 GB, free: 2.926 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003408/0.5271, allocations: 71.66 kB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.5276, allocations: 251.6 kB / 1.48 GB, free: 2.578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.5277, allocations: 20.66 kB / 1.48 GB, free: 2.559 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.5277, allocations: 28 kB / 1.48 GB, free: 2.531 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.5282, allocations: 320.9 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.5283, allocations: 4 kB / 1.481 GB, free: 2.188 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.5283, allocations: 8 kB / 1.481 GB, free: 2.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5283, allocations: 8 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.5287, allocations: 205.5 kB / 1.481 GB, free: 1.973 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.5303, allocations: 1.202 MB / 1.482 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5306, allocations: 119.6 kB / 1.482 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.5308, allocations: 80.8 kB / 1.482 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.5312, allocations: 75.92 kB / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5313, allocations: 34.56 kB / 1.482 GB, free: 384 kB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.5313, allocations: 0 / 1.482 GB, free: 384 kB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0007871/0.5321, allocations: 273.1 kB / 1.483 GB, free: 108 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5321, allocations: 59.41 kB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.5325, allocations: 308.5 kB / 1.483 GB, free: 15.73 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.5325, allocations: 33.7 kB / 1.483 GB, free: 15.69 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.5327, allocations: 180.2 kB / 1.483 GB, free: 15.51 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.5327, allocations: 43.58 kB / 1.483 GB, free: 15.46 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.5328, allocations: 49.59 kB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.533, allocations: 338.8 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.5332, allocations: 51.95 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5334, allocations: 199.7 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.5338, allocations: 180.9 kB / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5338, allocations: 0 / 1.484 GB, free: 14.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000446/0.5342, allocations: 213.4 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5342, allocations: 4 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.5342, allocations: 4 kB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.5343, allocations: 0 / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.5344, allocations: 43.92 kB / 1.484 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5344, allocations: 7.969 kB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.5346, allocations: 27.78 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.5347, allocations: 11.98 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001601/0.5348, allocations: 165.8 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.5349, allocations: 27.81 kB / 1.485 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.5353, allocations: 200.3 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5353, allocations: 0 / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5353, allocations: 7.984 kB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5353, allocations: 0 / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5364, allocations: 0.6397 MB / 1.485 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5364, allocations: 0 / 1.485 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5365, allocations: 23.98 kB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.5365, allocations: 4 kB / 1.485 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5365, allocations: 7.938 kB / 1.485 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5365, allocations: 4 kB / 1.485 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.5365, allocations: 4.156 kB / 1.485 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.537, allocations: 341.3 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5371, allocations: 43.73 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.5371, allocations: 7.984 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.5373, allocations: 15.97 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.5373, allocations: 19.86 kB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.5373, allocations: 4.062 kB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002244/0.5376, allocations: 227 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5376, allocations: 4 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003658/0.5379, allocations: 71.89 kB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009811/0.5389, allocations: 0.9133 MB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.5393, allocations: 151.8 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5393, allocations: 3.938 kB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.5395, allocations: 84.58 kB / 1.487 GB, free: 11.16 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/0.5403, allocations: 144.7 kB / 1.487 GB, free: 11.03 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.5441, allocations: 2.811 MB / 1.49 GB, free: 8.066 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.5443, allocations: 175.8 kB / 1.49 GB, free: 7.875 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000213/0.5445, allocations: 58.92 kB / 1.49 GB, free: 7.816 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.5447, allocations: 91.41 kB / 1.49 GB, free: 7.727 MB / 1.186 GB Notification: Performance of SimCode: time 4.21e-07/0.5447, allocations: 4 kB / 1.49 GB, free: 7.723 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.5831, allocations: 9.207 MB / 1.499 GB, free: 14.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.33, allocations: 10.06 kB / 1.499 GB, free: 14.79 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_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_EnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.700099795125425]