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.001634/0.001634, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 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.002122/0.002122, allocations: 169.2 kB / 23.55 MB, free: 0.9922 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 1.604/1.604, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.838/2.838, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.894e-05/4.083e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.009409/0.009449, allocations: 4.432 MB / 0.7907 GB, free: 7.211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.01099, allocations: 0.7492 MB / 0.7915 GB, free: 6.465 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.01113, allocations: 4 kB / 0.7915 GB, free: 6.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.01141, allocations: 23.78 kB / 0.7915 GB, free: 6.438 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.01154, allocations: 39.08 kB / 0.7915 GB, free: 6.402 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.01245, allocations: 183.2 kB / 0.7917 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.01279, allocations: 179.3 kB / 0.7919 GB, free: 6.047 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.01292, allocations: 18.02 kB / 0.7919 GB, free: 6.027 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.01328, allocations: 107.7 kB / 0.792 GB, free: 5.922 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.01343, allocations: 60.44 kB / 0.7921 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.01347, allocations: 12.53 kB / 0.7921 GB, free: 5.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.01393, allocations: 144.5 kB / 0.7922 GB, free: 5.711 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.01398, allocations: 31.84 kB / 0.7922 GB, free: 5.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.01409, allocations: 48.8 kB / 0.7923 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.01464, allocations: 251.3 kB / 0.7925 GB, free: 5.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01465, allocations: 0.5312 kB / 0.7925 GB, free: 5.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01465, allocations: 0 / 0.7925 GB, free: 5.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.01466, allocations: 1.375 kB / 0.7925 GB, free: 5.387 MB / 0.698 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.001158/0.01581, allocations: 414.7 kB / 0.7929 GB, free: 4.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.01586, allocations: 8.688 kB / 0.7929 GB, free: 4.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01599, allocations: 29.55 kB / 0.793 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.01617, allocations: 121.6 kB / 0.7931 GB, free: 4.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.01619, allocations: 13.41 kB / 0.7931 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.01622, allocations: 8.375 kB / 0.7931 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.01661, allocations: 119 kB / 0.7932 GB, free: 4.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01662, allocations: 192 / 0.7932 GB, free: 4.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.01664, allocations: 13.45 kB / 0.7932 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01665, allocations: 0 / 0.7932 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.01712, allocations: 139 kB / 0.7934 GB, free: 4.488 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.0183, allocations: 385.5 kB / 0.7937 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.01864, allocations: 115.1 kB / 0.7938 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.01886, allocations: 66.28 kB / 0.7939 GB, free: 3.895 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.02019, allocations: 478.4 kB / 0.7944 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.02024, allocations: 34.55 kB / 0.7944 GB, free: 3.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.02024, allocations: 4 kB / 0.7944 GB, free: 3.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.000793/0.02103, allocations: 211.5 kB / 0.7946 GB, free: 3.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.0211, allocations: 55.41 kB / 0.7946 GB, free: 3.094 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.02133, allocations: 171.2 kB / 0.7948 GB, free: 2.914 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.02137, allocations: 34.73 kB / 0.7948 GB, free: 2.875 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.02149, allocations: 112.5 kB / 0.7949 GB, free: 2.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.02153, allocations: 35.66 kB / 0.795 GB, free: 2.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.02165, allocations: 54.66 kB / 0.795 GB, free: 2.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.02186, allocations: 326.8 kB / 0.7953 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.02211, allocations: 73.08 kB / 0.7954 GB, free: 2.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.02239, allocations: 117.2 kB / 0.7955 GB, free: 2.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.02286, allocations: 172 kB / 0.7957 GB, free: 1.969 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.02287, allocations: 4 kB / 0.7957 GB, free: 1.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006689/0.02354, allocations: 253.6 kB / 0.7959 GB, free: 1.715 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.02356, allocations: 11.62 kB / 0.7959 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.02357, allocations: 0 / 0.7959 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.0236, allocations: 4 kB / 0.796 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.0239, allocations: 51.91 kB / 0.796 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.02392, allocations: 3.984 kB / 0.796 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.02409, allocations: 31.81 kB / 0.796 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.02413, allocations: 12 kB / 0.796 GB, free: 1.605 MB / 0.698 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.0003019/0.02443, allocations: 117.8 kB / 0.7962 GB, free: 1.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.02449, allocations: 20.75 kB / 0.7962 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.02506, allocations: 183 kB / 0.7964 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.02507, allocations: 7.938 kB / 0.7964 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.02507, allocations: 0 / 0.7964 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02508, allocations: 0 / 0.7964 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.02536, allocations: 161.2 kB / 0.7965 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02536, allocations: 0 / 0.7965 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.02553, allocations: 27.98 kB / 0.7965 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.02554, allocations: 3.984 kB / 0.7965 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.02555, allocations: 8 kB / 0.7966 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02555, allocations: 0 / 0.7966 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02555, allocations: 3.938 kB / 0.7966 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.02611, allocations: 259.4 kB / 0.7968 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.02617, allocations: 23.83 kB / 0.7968 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.0262, allocations: 4 kB / 0.7968 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.02635, allocations: 19.98 kB / 0.7969 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.02642, allocations: 11.91 kB / 0.7969 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.02643, allocations: 4 kB / 0.7969 GB, free: 0.707 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001101/0.02654, allocations: 116 kB / 0.797 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.02654, allocations: 0 / 0.797 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004251/0.02696, allocations: 59.88 kB / 0.797 GB, free: 0.5352 MB / 0.698 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.0004428/0.02741, allocations: 165.6 kB / 0.7972 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.02798, allocations: 163.7 kB / 0.7973 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02799, allocations: 0 / 0.7973 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.02819, allocations: 68.08 kB / 0.7974 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.02864, allocations: 19.98 kB / 0.7974 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.02932, allocations: 245.9 kB / 0.7977 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.02945, allocations: 97.38 kB / 0.7978 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.02957, allocations: 25.02 kB / 0.7978 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.02964, allocations: 16.5 kB / 0.7978 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/0.02964, allocations: 0 / 0.7978 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.00827/0.03791, allocations: 2.869 MB / 0.8006 GB, free: 12.88 MB / 0.7136 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 -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/jenkins/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.525981941027567]