Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001313/0.001313, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001351/0.001351, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.056/3.056, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.001937/0.001937, allocations: 69.36 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1787/0.5036, allocations: 147.7 MB / 1.49 GB, free: 11.63 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007287/0.5109, allocations: 6 MB / 1.495 GB, free: 5.609 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.5112, allocations: 19.81 kB / 1.495 GB, free: 5.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.5118, allocations: 174.7 kB / 1.496 GB, free: 5.418 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.5137, allocations: 0.8402 MB / 1.496 GB, free: 4.574 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.5145, allocations: 342.5 kB / 1.497 GB, free: 4.242 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.5154, allocations: 0.729 MB / 1.497 GB, free: 3.512 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.5157, allocations: 219.2 kB / 1.498 GB, free: 3.293 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5172, allocations: 0.7278 MB / 1.498 GB, free: 2.562 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.5176, allocations: 278.9 kB / 1.499 GB, free: 2.289 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.5176, allocations: 24 kB / 1.499 GB, free: 2.266 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.5181, allocations: 291.3 kB / 1.499 GB, free: 1.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.5182, allocations: 111.7 kB / 1.499 GB, free: 1.871 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.5184, allocations: 135.4 kB / 1.499 GB, free: 1.738 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006172/0.519, allocations: 470.2 kB / 1.5 GB, free: 1.277 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.519, allocations: 0 / 1.5 GB, free: 1.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/0.519, allocations: 0 / 1.5 GB, free: 1.277 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.519, allocations: 0 / 1.5 GB, free: 1.277 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008125/0.5198, allocations: 0.5516 MB / 1.5 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5198, allocations: 8.031 kB / 1.5 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.5199, allocations: 8.656 kB / 1.5 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.025e-05/0.5199, allocations: 62.55 kB / 1.5 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.5202, allocations: 67.67 kB / 1.5 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.5207, allocations: 259.5 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.5207, allocations: 20.66 kB / 1.501 GB, free: 244 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.5208, allocations: 28 kB / 1.501 GB, free: 216 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.5213, allocations: 324.9 kB / 1.501 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5213, allocations: 0 / 1.501 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.5213, allocations: 12 kB / 1.501 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.5214, allocations: 8 kB / 1.501 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.5218, allocations: 201.5 kB / 1.501 GB, free: 15.65 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5231, allocations: 1.198 MB / 1.502 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.5233, allocations: 110.5 kB / 1.502 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.5235, allocations: 84.8 kB / 1.502 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.524, allocations: 79.86 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.524, allocations: 30.56 kB / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.524, allocations: 0 / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.00075/0.5248, allocations: 276.6 kB / 1.503 GB, free: 13.79 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.5248, allocations: 59.34 kB / 1.503 GB, free: 13.72 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5251, allocations: 308.5 kB / 1.503 GB, free: 13.41 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.5251, allocations: 29.7 kB / 1.503 GB, free: 13.38 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5253, allocations: 184.2 kB / 1.503 GB, free: 13.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.5253, allocations: 47.58 kB / 1.503 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.5254, allocations: 41.66 kB / 1.503 GB, free: 13.1 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5255, allocations: 338.8 kB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5257, allocations: 59.95 kB / 1.504 GB, free: 12.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.5259, allocations: 194.1 kB / 1.504 GB, free: 12.48 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.5262, allocations: 173 kB / 1.504 GB, free: 12.29 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5262, allocations: 3.938 kB / 1.504 GB, free: 12.29 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004059/0.5266, allocations: 221.3 kB / 1.504 GB, free: 12.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5267, allocations: 4 kB / 1.504 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5267, allocations: 0 / 1.504 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5267, allocations: 4 kB / 1.504 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5268, allocations: 31.92 kB / 1.504 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5269, allocations: 4 kB / 1.504 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.527, allocations: 35.83 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.527, allocations: 8.156 kB / 1.505 GB, free: 11.98 MB / 1.201 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.0001542/0.5272, allocations: 157.7 kB / 1.505 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.5272, allocations: 27.81 kB / 1.505 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.5277, allocations: 208.2 kB / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5277, allocations: 0 / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5277, allocations: 0 / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5277, allocations: 0 / 1.505 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.5287, allocations: 0.6358 MB / 1.506 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5287, allocations: 4 kB / 1.506 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.5288, allocations: 31.91 kB / 1.506 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5288, allocations: 7.938 kB / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5288, allocations: 11.94 kB / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5288, allocations: 224 / 1.506 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5288, allocations: 8 kB / 1.506 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.5293, allocations: 329.2 kB / 1.506 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.5294, allocations: 47.73 kB / 1.506 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.5294, allocations: 7.938 kB / 1.506 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.5296, allocations: 11.98 kB / 1.506 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.5296, allocations: 15.92 kB / 1.506 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5296, allocations: 8 kB / 1.506 GB, free: 10.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002228/0.5299, allocations: 227 kB / 1.506 GB, free: 10.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5299, allocations: 0 / 1.506 GB, free: 10.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003594/0.5302, allocations: 71.89 kB / 1.506 GB, free: 10.07 MB / 1.201 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.0009317/0.5311, allocations: 0.9158 MB / 1.507 GB, free: 9.105 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.5315, allocations: 147.8 kB / 1.507 GB, free: 8.961 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5315, allocations: 0 / 1.507 GB, free: 8.961 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.5317, allocations: 88.56 kB / 1.507 GB, free: 8.875 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.5325, allocations: 147.3 kB / 1.508 GB, free: 8.73 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.536, allocations: 2.813 MB / 1.51 GB, free: 5.758 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.5362, allocations: 179.8 kB / 1.51 GB, free: 5.566 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.5364, allocations: 54.94 kB / 1.51 GB, free: 5.516 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5365, allocations: 87.42 kB / 1.511 GB, free: 5.43 MB / 1.201 GB Notification: Performance of SimCode: time 3.31e-07/0.5365, allocations: 7.938 kB / 1.511 GB, free: 5.422 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.5699, allocations: 8.84 MB / 1.519 GB, free: 12.87 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.79, allocations: 4.062 kB / 1.519 GB, free: 12.86 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.25939699599985]