Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001637/0.001637, allocations: 113 kB / 16.46 MB, free: 6.453 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.001891/0.001891, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.969 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 3.241/3.241, allocations: 0.49 GB / 0.7916 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.002009/0.002009, allocations: 67.77 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007722/0.3516, allocations: 4.673 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3528, allocations: 0.8295 MB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3529, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.3531, allocations: 27.81 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.3532, allocations: 35.66 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.3538, allocations: 171.4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.354, allocations: 179.4 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3541, allocations: 17.11 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3543, allocations: 79.7 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3545, allocations: 79.72 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.3545, allocations: 16 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.3549, allocations: 159.7 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.3549, allocations: 27.92 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.355, allocations: 71.66 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.3554, allocations: 243.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3554, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3554, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3554, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009817/0.3564, allocations: 490.5 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3565, allocations: 15.98 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.3565, allocations: 38.73 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.3566, allocations: 16.84 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3567, allocations: 186 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3567, allocations: 8.375 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.3568, allocations: 12.38 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.3571, allocations: 117.5 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3571, allocations: 0 / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3571, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3572, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3576, allocations: 147.8 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3587, allocations: 468.5 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.359, allocations: 114.5 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.3592, allocations: 64.81 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.3606, allocations: 0.9724 MB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3607, allocations: 30.56 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3607, allocations: 0 / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0007237/0.3614, allocations: 213.3 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3614, allocations: 59.41 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3616, allocations: 160 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3616, allocations: 25.7 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.3617, allocations: 116.4 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3617, allocations: 39.69 kB / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.3618, allocations: 45.7 kB / 1.33 GB, free: 9.051 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.362, allocations: 322.8 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3622, allocations: 83.88 kB / 1.331 GB, free: 8.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.3625, allocations: 109.1 kB / 1.331 GB, free: 8.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.363, allocations: 177.3 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.363, allocations: 0 / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006174/0.3636, allocations: 243.4 kB / 1.331 GB, free: 8.102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3636, allocations: 14.02 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3636, allocations: 3.938 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3636, allocations: 4 kB / 1.331 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.3639, allocations: 55.91 kB / 1.331 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3639, allocations: 0 / 1.331 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.3641, allocations: 31.83 kB / 1.331 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.3641, allocations: 19.92 kB / 1.331 GB, free: 7.977 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001126/0.3642, allocations: 125.8 kB / 1.332 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.3643, allocations: 11.91 kB / 1.332 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.3648, allocations: 187.2 kB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3648, allocations: 0 / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3648, allocations: 0 / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3648, allocations: 0 / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.365, allocations: 213.6 kB / 1.332 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.365, allocations: 4 kB / 1.332 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.3652, allocations: 31.91 kB / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3652, allocations: 0 / 1.332 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3652, allocations: 7.938 kB / 1.332 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3652, allocations: 4 kB / 1.332 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3652, allocations: 3.984 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.3658, allocations: 255.3 kB / 1.332 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.3659, allocations: 104.9 kB / 1.332 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3659, allocations: 11.94 kB / 1.332 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.366, allocations: 7.984 kB / 1.332 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3661, allocations: 11.98 kB / 1.332 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3661, allocations: 4 kB / 1.332 GB, free: 6.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.76e-05/0.3662, allocations: 116 kB / 1.333 GB, free: 6.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3662, allocations: 0 / 1.333 GB, free: 6.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003805/0.3666, allocations: 59.88 kB / 1.333 GB, free: 6.734 MB / 1.029 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 (12): * Single equations (assignments): 12 * 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.001026/0.3676, allocations: 0.8488 MB / 1.333 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3681, allocations: 160 kB / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3681, allocations: 0 / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3683, allocations: 63.89 kB / 1.334 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.3687, allocations: 19.92 kB / 1.334 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.3716, allocations: 1.972 MB / 1.336 GB, free: 3.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3719, allocations: 0.7006 MB / 1.336 GB, free: 2.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.372, allocations: 32.42 kB / 1.336 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.3721, allocations: 35.42 kB / 1.336 GB, free: 2.758 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3721, allocations: 4 kB / 1.336 GB, free: 2.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.4018, allocations: 4.293 MB / 1.341 GB, free: 14.62 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.429, allocations: 8 kB / 1.341 GB, free: 14.62 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.279855038039386]