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.001027/0.001027, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001228/0.001228, allocations: 167.8 kB / 24.87 MB, free: 9.277 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.9143/0.9143, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.343e-06/1.343e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.452e-05, allocations: 4.125 kB / 0.7883 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00517/0.005185, allocations: 4.707 MB / 0.7929 GB, free: 7.473 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.006144, allocations: 0.8263 MB / 0.7937 GB, free: 6.648 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.006229, allocations: 0 / 0.7937 GB, free: 6.648 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.006429, allocations: 31.72 kB / 0.7938 GB, free: 6.617 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.006477, allocations: 38.3 kB / 0.7938 GB, free: 6.582 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.007057, allocations: 180 kB / 0.794 GB, free: 6.406 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.007208, allocations: 183.3 kB / 0.7942 GB, free: 6.227 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.007283, allocations: 9.844 kB / 0.7942 GB, free: 6.215 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.007443, allocations: 113.4 kB / 0.7943 GB, free: 6.105 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.007514, allocations: 59.84 kB / 0.7943 GB, free: 6.047 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.007533, allocations: 16 kB / 0.7944 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.00776, allocations: 135.8 kB / 0.7945 GB, free: 5.898 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.007787, allocations: 40.45 kB / 0.7945 GB, free: 5.859 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.007829, allocations: 52.8 kB / 0.7946 GB, free: 5.809 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.008082, allocations: 215.3 kB / 0.7948 GB, free: 5.598 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.008085, allocations: 0 / 0.7948 GB, free: 5.598 MB / 0.7449 GB Notification: Performance of FrontEnd: time 8.41e-07/0.008085, allocations: 1.156 kB / 0.7948 GB, free: 5.598 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.00809, allocations: 0 / 0.7948 GB, free: 5.598 MB / 0.7449 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.0005452/0.008635, allocations: 497.4 kB / 0.7952 GB, free: 5.078 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.008667, allocations: 9.312 kB / 0.7953 GB, free: 5.07 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.008711, allocations: 24.84 kB / 0.7953 GB, free: 5.047 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.008799, allocations: 138.6 kB / 0.7954 GB, free: 4.887 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.008812, allocations: 8.375 kB / 0.7954 GB, free: 4.879 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.008827, allocations: 9.219 kB / 0.7954 GB, free: 4.871 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.008964, allocations: 95.94 kB / 0.7955 GB, free: 4.77 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.008971, allocations: 192 / 0.7955 GB, free: 4.77 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.00898, allocations: 8.125 kB / 0.7955 GB, free: 4.762 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008986, allocations: 5.375 kB / 0.7955 GB, free: 4.758 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.009057, allocations: 41.83 kB / 0.7956 GB, free: 4.719 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.009561, allocations: 408.4 kB / 0.796 GB, free: 4.297 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.009651, allocations: 71.02 kB / 0.796 GB, free: 4.215 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.009684, allocations: 31.67 kB / 0.7961 GB, free: 4.18 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.01029, allocations: 0.5477 MB / 0.7966 GB, free: 3.621 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01031, allocations: 49.27 kB / 0.7966 GB, free: 3.562 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.01031, allocations: 0 / 0.7966 GB, free: 3.562 MB / 0.7449 GB Notification: Performance of matching and sorting (n=12): time 0.0001659/0.01048, allocations: 93.62 kB / 0.7967 GB, free: 3.465 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.0105, allocations: 57.5 kB / 0.7968 GB, free: 3.398 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.0106, allocations: 219.2 kB / 0.797 GB, free: 3.168 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.01061, allocations: 29.7 kB / 0.797 GB, free: 3.133 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.01068, allocations: 155.2 kB / 0.7972 GB, free: 2.977 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.0107, allocations: 43.64 kB / 0.7972 GB, free: 2.934 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.01075, allocations: 56.3 kB / 0.7973 GB, free: 2.871 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01086, allocations: 0.5 MB / 0.7978 GB, free: 2.359 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/0.0109, allocations: 19.98 kB / 0.7978 GB, free: 2.34 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.01096, allocations: 77.02 kB / 0.7979 GB, free: 2.25 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.01105, allocations: 97.92 kB / 0.7979 GB, free: 2.141 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01105, allocations: 0 / 0.7979 GB, free: 2.141 MB / 0.7449 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001677/0.01122, allocations: 150.5 kB / 0.7981 GB, free: 1.988 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01123, allocations: 8 kB / 0.7981 GB, free: 1.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01123, allocations: 4.094 kB / 0.7981 GB, free: 1.977 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.01124, allocations: 4 kB / 0.7981 GB, free: 1.973 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01136, allocations: 51.91 kB / 0.7982 GB, free: 1.922 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.01137, allocations: 4 kB / 0.7982 GB, free: 1.918 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.01143, allocations: 31.77 kB / 0.7982 GB, free: 1.887 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01144, allocations: 4 kB / 0.7982 GB, free: 1.883 MB / 0.7449 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 7.404e-05/0.01152, allocations: 172.5 kB / 0.7984 GB, free: 1.703 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.01154, allocations: 11.95 kB / 0.7984 GB, free: 1.691 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.01166, allocations: 99.05 kB / 0.7985 GB, free: 1.594 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01167, allocations: 8 kB / 0.7985 GB, free: 1.586 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.01167, allocations: 3.938 kB / 0.7985 GB, free: 1.582 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01167, allocations: 0 / 0.7985 GB, free: 1.582 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.01178, allocations: 141.1 kB / 0.7986 GB, free: 1.418 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.01178, allocations: 0 / 0.7986 GB, free: 1.418 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.825e-05/0.01184, allocations: 23.92 kB / 0.7986 GB, free: 1.395 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.01184, allocations: 4 kB / 0.7986 GB, free: 1.391 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.01185, allocations: 0 / 0.7986 GB, free: 1.391 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01185, allocations: 0 / 0.7986 GB, free: 1.391 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01185, allocations: 0 / 0.7986 GB, free: 1.391 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.01198, allocations: 260.2 kB / 0.7989 GB, free: 1.117 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.012, allocations: 20.06 kB / 0.7989 GB, free: 1.098 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.01201, allocations: 3.984 kB / 0.7989 GB, free: 1.094 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.01207, allocations: 12 kB / 0.7989 GB, free: 1.082 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.0121, allocations: 11.97 kB / 0.7989 GB, free: 1.07 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.01211, allocations: 7.938 kB / 0.7989 GB, free: 1.062 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.01216, allocations: 151.8 kB / 0.7991 GB, free: 0.9141 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4e-08/0.01216, allocations: 0 / 0.7991 GB, free: 0.9141 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002102/0.01237, allocations: 59.88 kB / 0.7991 GB, free: 0.8555 MB / 0.7449 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.0001613/0.01253, allocations: 155 kB / 0.7993 GB, free: 0.6953 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.01265, allocations: 97.22 kB / 0.7994 GB, free: 0.6016 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01265, allocations: 0 / 0.7994 GB, free: 0.6016 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.01269, allocations: 39.59 kB / 0.7994 GB, free: 0.5586 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01289, allocations: 24.11 kB / 0.7994 GB, free: 0.5352 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.0133, allocations: 242.9 kB / 0.7997 GB, free: 276 kB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.01333, allocations: 67.84 kB / 0.7997 GB, free: 188 kB / 0.7449 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.01339, allocations: 17.14 kB / 0.7998 GB, free: 168 kB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.01373, allocations: 94.19 kB / 0.7998 GB, free: 72 kB / 0.7449 GB Notification: Performance of SimCode: time 6.22e-07/0.01373, allocations: 0 / 0.7998 GB, free: 72 kB / 0.7449 GB Notification: Performance of Templates: time 0.004307/0.01804, allocations: 3.167 MB / 0.8029 GB, free: 12.95 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.822490023914725]