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.001459/0.001459, 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.001615/0.001615, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.315/1.315, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 179] 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 2.952/2.952, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_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.00221/0.00221, allocations: 73.23 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3086, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1773/0.4859, allocations: 147.8 MB / 1.508 GB, free: 9.691 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.4937, allocations: 6.02 MB / 1.514 GB, free: 3.656 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.4941, allocations: 15.88 kB / 1.514 GB, free: 3.641 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.4946, allocations: 178.7 kB / 1.514 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.4967, allocations: 0.8363 MB / 1.515 GB, free: 2.625 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008938/0.4976, allocations: 341.8 kB / 1.515 GB, free: 2.293 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.4986, allocations: 0.7174 MB / 1.516 GB, free: 1.574 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004238/0.499, allocations: 219.2 kB / 1.516 GB, free: 1.355 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.5005, allocations: 0.7278 MB / 1.517 GB, free: 0.625 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.501, allocations: 263 kB / 1.517 GB, free: 376 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.5011, allocations: 24 kB / 1.517 GB, free: 352 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005543/0.5016, allocations: 283.3 kB / 1.517 GB, free: 68 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.5018, allocations: 111.6 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.5019, allocations: 135.3 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.5026, allocations: 470.2 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5026, allocations: 4 kB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5026, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.5026, allocations: 0 / 1.518 GB, free: 15.36 MB / 1.217 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.0008755/0.5035, allocations: 0.5516 MB / 1.518 GB, free: 14.78 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5036, allocations: 8.031 kB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.5036, allocations: 66.53 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.5039, allocations: 59.67 kB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.5044, allocations: 267.6 kB / 1.519 GB, free: 14.35 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5045, allocations: 20.66 kB / 1.519 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.5045, allocations: 24 kB / 1.519 GB, free: 14.31 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.5051, allocations: 320.9 kB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5051, allocations: 4 kB / 1.519 GB, free: 13.96 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.5051, allocations: 8 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5051, allocations: 4 kB / 1.519 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.5055, allocations: 209.4 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.507, allocations: 1.202 MB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.5073, allocations: 106.5 kB / 1.521 GB, free: 12.36 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.5075, allocations: 88.8 kB / 1.521 GB, free: 12.27 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.5079, allocations: 75.91 kB / 1.521 GB, free: 12.2 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.508, allocations: 34.56 kB / 1.521 GB, free: 12.16 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.508, allocations: 0 / 1.521 GB, free: 12.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0007397/0.5087, allocations: 269.6 kB / 1.521 GB, free: 11.89 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5087, allocations: 55.34 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.5091, allocations: 308.6 kB / 1.521 GB, free: 11.52 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.5091, allocations: 37.64 kB / 1.521 GB, free: 11.47 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.5092, allocations: 184.2 kB / 1.522 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.5093, allocations: 51.53 kB / 1.522 GB, free: 11.24 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.5093, allocations: 33.72 kB / 1.522 GB, free: 11.2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5095, allocations: 338.8 kB / 1.522 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5096, allocations: 59.95 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.5099, allocations: 190.2 kB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5102, allocations: 180.9 kB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5102, allocations: 0 / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000425/0.5107, allocations: 213.3 kB / 1.523 GB, free: 10.17 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5107, allocations: 12.16 kB / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5107, allocations: 0 / 1.523 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5107, allocations: 4.047 kB / 1.523 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.5109, allocations: 39.89 kB / 1.523 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.5109, allocations: 4 kB / 1.523 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.511, allocations: 27.83 kB / 1.523 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.5111, allocations: 8 kB / 1.523 GB, free: 10.07 MB / 1.217 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.0001497/0.5112, allocations: 154.3 kB / 1.523 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.5113, allocations: 27.86 kB / 1.523 GB, free: 9.887 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.5117, allocations: 218.3 kB / 1.523 GB, free: 9.668 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5117, allocations: 4 kB / 1.523 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5117, allocations: 3.938 kB / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5117, allocations: 0 / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5128, allocations: 0.6358 MB / 1.524 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5128, allocations: 0 / 1.524 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.5129, allocations: 27.98 kB / 1.524 GB, free: 8.926 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5129, allocations: 0 / 1.524 GB, free: 8.926 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.5129, allocations: 7.938 kB / 1.524 GB, free: 8.918 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5129, allocations: 4 kB / 1.524 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5129, allocations: 7.922 kB / 1.524 GB, free: 8.906 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.5134, allocations: 333.5 kB / 1.524 GB, free: 8.543 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5135, allocations: 47.73 kB / 1.524 GB, free: 8.496 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.5135, allocations: 11.92 kB / 1.524 GB, free: 8.484 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5137, allocations: 8 kB / 1.524 GB, free: 8.477 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5137, allocations: 11.92 kB / 1.524 GB, free: 8.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5138, allocations: 8 kB / 1.524 GB, free: 8.457 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002269/0.514, allocations: 223 kB / 1.524 GB, free: 8.238 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.514, allocations: 0 / 1.524 GB, free: 8.238 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003519/0.5143, allocations: 71.89 kB / 1.524 GB, free: 8.168 MB / 1.217 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.0008992/0.5152, allocations: 0.9201 MB / 1.525 GB, free: 7.199 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.5156, allocations: 159.8 kB / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.5156, allocations: 0 / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.5158, allocations: 79.83 kB / 1.526 GB, free: 6.965 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.5166, allocations: 150.1 kB / 1.526 GB, free: 6.82 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.5202, allocations: 2.807 MB / 1.528 GB, free: 3.855 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.5203, allocations: 175.8 kB / 1.529 GB, free: 3.668 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.5205, allocations: 58.94 kB / 1.529 GB, free: 3.609 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.5207, allocations: 91.41 kB / 1.529 GB, free: 3.52 MB / 1.217 GB Notification: Performance of SimCode: time 3e-07/0.5207, allocations: 3.938 kB / 1.529 GB, free: 3.516 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.5594, allocations: 9.206 MB / 1.538 GB, free: 10.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.94, allocations: 9.922 kB / 1.538 GB, free: 10.57 MB / 1.232 GB " [Timeout remaining time 289] (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: 16.933508487418294]