Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.0008202/0.0008202, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001123/0.001123, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8852/0.8852, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 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 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.248e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002132/0.002154, allocations: 1.615 MB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003312, allocations: 0.9239 MB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.003376, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.003405, allocations: 11.88 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.00361, allocations: 31.78 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.00391, allocations: 165.6 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004043, allocations: 79.66 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.004132, allocations: 4 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004257, allocations: 51.88 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.004321, allocations: 27.91 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.004336, allocations: 8 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.004607, allocations: 271.6 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.004625, allocations: 15.92 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.004654, allocations: 19.98 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.004867, allocations: 187.4 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004868, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004869, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004873, allocations: 0 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004105/0.005284, allocations: 341.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.005327, allocations: 12.75 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.005362, allocations: 38.73 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.005533, allocations: 28.88 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.005721, allocations: 143.8 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.005731, allocations: 384 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.005743, allocations: 4.375 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.005876, allocations: 65.59 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.005884, allocations: 4 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005894, allocations: 4 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.0059, allocations: 3.984 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.005994, allocations: 43.91 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.006329, allocations: 259.9 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.782e-05/0.006427, allocations: 46.56 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.006641, allocations: 32.97 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.006657, allocations: 3.984 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.006679, allocations: 38.5 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.00668, allocations: 0 / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0002493/0.006929, allocations: 105.8 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.006958, allocations: 51.41 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.007041, allocations: 136.4 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.007053, allocations: 25.7 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.007104, allocations: 108.1 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.007119, allocations: 19.8 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.007154, allocations: 21.7 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.007246, allocations: 326.8 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.00729, allocations: 19.98 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.007331, allocations: 27.98 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.007419, allocations: 52.83 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007422, allocations: 0 / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001377/0.007559, allocations: 93.62 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007572, allocations: 11.94 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007577, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.007588, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/0.007654, allocations: 11.98 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.007659, allocations: 4 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.007687, allocations: 7.984 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007692, allocations: 0 / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 5.831e-05/0.007751, allocations: 125.7 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.007772, allocations: 7.953 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.007928, allocations: 102.1 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.007931, allocations: 4 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.007935, allocations: 0 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.007937, allocations: 0 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.008053, allocations: 148.6 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008054, allocations: 4 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.008089, allocations: 11.98 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.008091, allocations: 4 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.008099, allocations: 8.25 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.008107, allocations: 7.938 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008108, allocations: 0 / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.008247, allocations: 187.4 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.008256, allocations: 7.953 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.008268, allocations: 4 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.008308, allocations: 7.984 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.008343, allocations: 4 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.008348, allocations: 7.984 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.008397, allocations: 103.3 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008397, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001674/0.008564, allocations: 20 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0003704/0.008934, allocations: 0.7357 MB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.009063, allocations: 51.95 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009064, allocations: 4 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.435e-05/0.009109, allocations: 31.92 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.009304, allocations: 15.92 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01045, allocations: 1.478 MB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.47e-05/0.01051, allocations: 81.58 kB / 1.008 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.01054, allocations: 7.984 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.01059, allocations: 24.48 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.01059, allocations: 4 kB / 1.008 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.02573, allocations: 3.067 MB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/6.869, allocations: 9.766 kB / 1.011 GB, free: 1.469 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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: 11.170181910507381]