Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00148/0.00148, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001663/0.001663, allocations: 212.3 kB / 23 MB, free: 5.117 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 2.985/2.985, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_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_latest_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.001883/0.001883, allocations: 67.62 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3066, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006287/0.3129, allocations: 4.709 MB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.314, allocations: 0.8217 MB / 1.36 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.3141, allocations: 0 / 1.36 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3142, allocations: 39.75 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.3143, allocations: 27.72 kB / 1.36 GB, free: 2.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3148, allocations: 175.4 kB / 1.36 GB, free: 2.113 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.315, allocations: 183.3 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.3151, allocations: 13.3 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3152, allocations: 79.7 kB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3154, allocations: 79.72 kB / 1.36 GB, free: 1.762 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3154, allocations: 16 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.3157, allocations: 163.8 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.3157, allocations: 23.92 kB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.3158, allocations: 71.64 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.3162, allocations: 247 kB / 1.361 GB, free: 1.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3162, allocations: 0 / 1.361 GB, free: 1.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3162, allocations: 0 / 1.361 GB, free: 1.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3162, allocations: 0 / 1.361 GB, free: 1.25 MB / 1.045 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.0008347/0.317, allocations: 409.5 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3171, allocations: 8.031 kB / 1.361 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.3171, allocations: 16.84 kB / 1.361 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3172, allocations: 119.7 kB / 1.361 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3172, allocations: 12.12 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3173, allocations: 12 kB / 1.361 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.3176, allocations: 125.5 kB / 1.361 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3176, allocations: 4 kB / 1.361 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3176, allocations: 4 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3176, allocations: 0 / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.318, allocations: 147.9 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.319, allocations: 435.5 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3192, allocations: 134.4 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3194, allocations: 68.8 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.3206, allocations: 488 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3206, allocations: 50.48 kB / 1.363 GB, free: 15.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.3206, allocations: 0 / 1.363 GB, free: 15.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006473/0.3213, allocations: 205.4 kB / 1.363 GB, free: 14.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3213, allocations: 55.34 kB / 1.363 GB, free: 14.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3215, allocations: 172.4 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3215, allocations: 25.7 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3216, allocations: 112.4 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3216, allocations: 43.67 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.3217, allocations: 49.7 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3218, allocations: 322.8 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.322, allocations: 75.94 kB / 1.364 GB, free: 14.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3223, allocations: 115.9 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.3226, allocations: 168.9 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3227, allocations: 7.984 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005338/0.3232, allocations: 242.9 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3232, allocations: 4 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3232, allocations: 4.094 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3232, allocations: 4 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3235, allocations: 55.89 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3235, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3236, allocations: 31.83 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3237, allocations: 8 kB / 1.364 GB, free: 13.36 MB / 1.061 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.0001057/0.3238, allocations: 133.7 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3238, allocations: 19.83 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.3243, allocations: 174.9 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3243, allocations: 4 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3243, allocations: 0 / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3243, allocations: 3.984 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3245, allocations: 184.6 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3245, allocations: 0 / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3246, allocations: 39.91 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3246, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3247, allocations: 4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3247, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3247, allocations: 4 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3251, allocations: 255.9 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.3251, allocations: 27.77 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3251, allocations: 8 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3253, allocations: 15.92 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3253, allocations: 15.97 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3253, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.463e-05/0.3254, allocations: 112 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3254, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003263/0.3257, allocations: 63.88 kB / 1.365 GB, free: 12.23 MB / 1.061 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.0002682/0.326, allocations: 155.1 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3265, allocations: 167.6 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3265, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3267, allocations: 67.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.327, allocations: 21.91 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.3275, allocations: 279.3 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3278, allocations: 0.7006 MB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.3279, allocations: 23.44 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3279, allocations: 4 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of Templates: time 0.004932/0.3328, allocations: 2.561 MB / 1.369 GB, free: 8.215 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.445777761022327]