Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001369/0.001369, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001458/0.001458, allocations: 156.7 kB / 23.01 MB, free: 4.598 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [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.002281/0.002281, allocations: 63.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006574/0.3168, allocations: 4.425 MB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.3179, allocations: 0.7555 MB / 1.123 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.318, allocations: 0 / 1.123 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3182, allocations: 23.78 kB / 1.123 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.3183, allocations: 35.7 kB / 1.123 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.3188, allocations: 179.3 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3191, allocations: 171.4 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.3192, allocations: 17.28 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.3194, allocations: 87.69 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3195, allocations: 75.72 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3195, allocations: 12 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.3199, allocations: 135.8 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.3199, allocations: 31.91 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.32, allocations: 63.7 kB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3204, allocations: 235.2 kB / 1.124 GB, free: 12.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3204, allocations: 0 / 1.124 GB, free: 12.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3204, allocations: 4 kB / 1.124 GB, free: 12.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3204, allocations: 0 / 1.124 GB, free: 12.28 MB / 1.076 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.0008842/0.3212, allocations: 405.5 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3213, allocations: 8.031 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3213, allocations: 16.84 kB / 1.124 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3215, allocations: 136.9 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3215, allocations: 8.375 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3215, allocations: 12.38 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3219, allocations: 128 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3219, allocations: 0 / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3219, allocations: 0 / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3219, allocations: 4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.3223, allocations: 139.9 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.3233, allocations: 396.1 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3236, allocations: 110.5 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3238, allocations: 68.81 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.325, allocations: 472 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.325, allocations: 34.56 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 3.086e-06/0.325, allocations: 3.984 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007045/0.3257, allocations: 213.4 kB / 1.126 GB, free: 10.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3258, allocations: 59.28 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3259, allocations: 167.2 kB / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3259, allocations: 29.7 kB / 1.126 GB, free: 9.754 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.326, allocations: 108.4 kB / 1.126 GB, free: 9.645 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3261, allocations: 39.69 kB / 1.126 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.3261, allocations: 57.58 kB / 1.126 GB, free: 9.543 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3263, allocations: 322.8 kB / 1.126 GB, free: 9.219 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.3265, allocations: 71.95 kB / 1.126 GB, free: 9.148 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3268, allocations: 117.8 kB / 1.127 GB, free: 9.023 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.3272, allocations: 169.9 kB / 1.127 GB, free: 8.848 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3272, allocations: 0 / 1.127 GB, free: 8.848 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006104/0.3279, allocations: 249.3 kB / 1.127 GB, free: 8.598 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3279, allocations: 4 kB / 1.127 GB, free: 8.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3279, allocations: 0 / 1.127 GB, free: 8.594 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3279, allocations: 4 kB / 1.127 GB, free: 8.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.3282, allocations: 51.91 kB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3282, allocations: 16.02 kB / 1.127 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3284, allocations: 31.77 kB / 1.127 GB, free: 8.492 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3284, allocations: 12 kB / 1.127 GB, free: 8.48 MB / 1.076 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.0001044/0.3285, allocations: 117.8 kB / 1.127 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3285, allocations: 15.91 kB / 1.127 GB, free: 8.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.329, allocations: 174.9 kB / 1.127 GB, free: 8.168 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.329, allocations: 11.94 kB / 1.127 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3291, allocations: 0 / 1.127 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3291, allocations: 0 / 1.127 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.3293, allocations: 149.3 kB / 1.128 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3293, allocations: 0 / 1.128 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.3294, allocations: 23.98 kB / 1.128 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3294, allocations: 0 / 1.128 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3294, allocations: 11.98 kB / 1.128 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3294, allocations: 0 / 1.128 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3294, allocations: 7.938 kB / 1.128 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.3299, allocations: 267.7 kB / 1.128 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.33, allocations: 27.83 kB / 1.128 GB, free: 7.633 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.33, allocations: 4 kB / 1.128 GB, free: 7.629 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3302, allocations: 11.98 kB / 1.128 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3302, allocations: 19.91 kB / 1.128 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3302, allocations: 0 / 1.128 GB, free: 7.598 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.294e-05/0.3303, allocations: 120.9 kB / 1.128 GB, free: 7.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3303, allocations: 4 kB / 1.128 GB, free: 7.477 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003473/0.3307, allocations: 59.88 kB / 1.128 GB, free: 7.418 MB / 1.076 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.0002863/0.3309, allocations: 153.6 kB / 1.128 GB, free: 7.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005182/0.3315, allocations: 159.8 kB / 1.128 GB, free: 7.102 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3315, allocations: 4 kB / 1.128 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3317, allocations: 63.88 kB / 1.128 GB, free: 7.035 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.332, allocations: 24.17 kB / 1.128 GB, free: 7.012 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.3325, allocations: 261.2 kB / 1.129 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.762e-05/0.3326, allocations: 89.81 kB / 1.129 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.924e-05/0.3327, allocations: 21.08 kB / 1.129 GB, free: 6.602 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.3328, allocations: 20.48 kB / 1.129 GB, free: 6.582 MB / 1.076 GB Notification: Performance of SimCode: time 4.4e-07/0.3328, allocations: 0 / 1.129 GB, free: 6.582 MB / 1.076 GB Notification: Performance of Templates: time 0.006748/0.3395, allocations: 2.818 MB / 1.132 GB, free: 3.809 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.506616836064495]