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.001218/0.001218, allocations: 115.7 kB / 17.17 MB, free: 5.98 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.001294/0.001294, allocations: 219 kB / 20.14 MB, free: 3.035 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.837/2.837, allocations: 0.49 GB / 0.7923 GB, free: 1.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_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.00197/0.00197, allocations: 63.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8695, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2016/1.071, allocations: 171 MB / 1.488 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00874/1.08, allocations: 6.59 MB / 1.495 GB, free: 5.211 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/1.08, allocations: 19.62 kB / 1.495 GB, free: 5.199 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005833/1.081, allocations: 170.7 kB / 1.495 GB, free: 5.051 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/1.083, allocations: 0.8751 MB / 1.496 GB, free: 4.391 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/1.084, allocations: 321.3 kB / 1.496 GB, free: 4.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001788/1.086, allocations: 0.7141 MB / 1.497 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/1.087, allocations: 230.8 kB / 1.497 GB, free: 3.602 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/1.089, allocations: 0.7172 MB / 1.498 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/1.09, allocations: 280.7 kB / 1.498 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/1.09, allocations: 22.31 kB / 1.498 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/1.091, allocations: 358.1 kB / 1.499 GB, free: 2.793 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/1.091, allocations: 105.6 kB / 1.499 GB, free: 2.723 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/1.091, allocations: 161.7 kB / 1.499 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/1.093, allocations: 473.4 kB / 1.499 GB, free: 2.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.093, allocations: 1.156 kB / 1.499 GB, free: 2.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.184e-06/1.093, allocations: 0 / 1.499 GB, free: 2.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.093, allocations: 0 / 1.499 GB, free: 2.32 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.001254/1.094, allocations: 0.6285 MB / 1.5 GB, free: 1.75 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.094, allocations: 14.2 kB / 1.5 GB, free: 1.746 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.313e-05/1.094, allocations: 6.531 kB / 1.5 GB, free: 1.746 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/1.094, allocations: 63.44 kB / 1.5 GB, free: 1.684 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/1.094, allocations: 62.2 kB / 1.5 GB, free: 1.652 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/1.095, allocations: 329.5 kB / 1.5 GB, free: 1.344 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.095, allocations: 23.19 kB / 1.5 GB, free: 1.332 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/1.095, allocations: 24.59 kB / 1.5 GB, free: 1.324 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/1.096, allocations: 322.3 kB / 1.501 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/1.096, allocations: 3.938 kB / 1.501 GB, free: 1.098 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/1.096, allocations: 11.16 kB / 1.501 GB, free: 1.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.096, allocations: 10.8 kB / 1.501 GB, free: 1.086 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/1.096, allocations: 208.3 kB / 1.501 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/1.098, allocations: 1.536 MB / 1.502 GB, free: 15.53 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/1.098, allocations: 111.6 kB / 1.502 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/1.098, allocations: 82.55 kB / 1.503 GB, free: 15.42 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/1.099, allocations: 303.6 kB / 1.503 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.099, allocations: 39.66 kB / 1.503 GB, free: 15.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/1.099, allocations: 0 / 1.503 GB, free: 15.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0008132/1.1, allocations: 270.8 kB / 1.503 GB, free: 14.93 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.1, allocations: 53.66 kB / 1.503 GB, free: 14.86 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/1.1, allocations: 315.7 kB / 1.503 GB, free: 14.65 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/1.1, allocations: 29.7 kB / 1.504 GB, free: 14.61 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/1.1, allocations: 180.3 kB / 1.504 GB, free: 14.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/1.1, allocations: 55.56 kB / 1.504 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/1.1, allocations: 37.7 kB / 1.504 GB, free: 14.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.101, allocations: 342.8 kB / 1.504 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.101, allocations: 63.86 kB / 1.504 GB, free: 13.93 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/1.101, allocations: 113 kB / 1.504 GB, free: 13.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/1.101, allocations: 173 kB / 1.504 GB, free: 13.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.101, allocations: 0 / 1.504 GB, free: 13.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004507/1.102, allocations: 229.2 kB / 1.505 GB, free: 13.38 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.102, allocations: 4 kB / 1.505 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.102, allocations: 3.984 kB / 1.505 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.102, allocations: 4 kB / 1.505 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/1.102, allocations: 31.92 kB / 1.505 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.102, allocations: 4 kB / 1.505 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/1.102, allocations: 35.98 kB / 1.505 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/1.102, allocations: 4 kB / 1.505 GB, free: 13.3 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.0001596/1.102, allocations: 157.7 kB / 1.505 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/1.102, allocations: 27.81 kB / 1.505 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/1.103, allocations: 209.2 kB / 1.505 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.103, allocations: 0 / 1.505 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.103, allocations: 0 / 1.505 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/1.103, allocations: 7.984 kB / 1.505 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.104, allocations: 0.6836 MB / 1.506 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.104, allocations: 4.062 kB / 1.506 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.104, allocations: 27.92 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.104, allocations: 4 kB / 1.506 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.104, allocations: 11.94 kB / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.104, allocations: 4 kB / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.104, allocations: 48 / 1.506 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/1.105, allocations: 342.1 kB / 1.506 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.105, allocations: 120.8 kB / 1.506 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/1.105, allocations: 11.94 kB / 1.506 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.105, allocations: 7.984 kB / 1.506 GB, free: 11.54 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/1.105, allocations: 19.92 kB / 1.506 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/1.105, allocations: 4 kB / 1.506 GB, free: 11.52 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002393/1.105, allocations: 227 kB / 1.507 GB, free: 11.3 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/1.105, allocations: 0 / 1.507 GB, free: 11.3 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000417/1.106, allocations: 71.89 kB / 1.507 GB, free: 11.23 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.0009895/1.107, allocations: 0.9137 MB / 1.508 GB, free: 10.27 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004321/1.107, allocations: 147.8 kB / 1.508 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.107, allocations: 0 / 1.508 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.107, allocations: 83.81 kB / 1.508 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/1.108, allocations: 142.8 kB / 1.508 GB, free: 9.906 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/1.112, allocations: 2.821 MB / 1.511 GB, free: 6.934 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/1.112, allocations: 0.7795 MB / 1.511 GB, free: 6.129 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002091/1.112, allocations: 66.88 kB / 1.511 GB, free: 6.062 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/1.113, allocations: 91.41 kB / 1.512 GB, free: 5.973 MB / 1.186 GB Notification: Performance of SimCode: time 6.91e-07/1.113, allocations: 7.938 kB / 1.512 GB, free: 5.965 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/1.141, allocations: 8.142 MB / 1.519 GB, free: 14.03 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/9.567, allocations: 16 kB / 1.52 GB, free: 14.02 MB / 1.201 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.716222508985084]