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.0009286/0.0009286, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009797/0.0009797, allocations: 168.1 kB / 24.87 MB, free: 9.25 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.8814/0.8814, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.782/1.782, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0.875 kB / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.651e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004185/0.004202, allocations: 4.704 MB / 0.8174 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.004922, allocations: 0.8291 MB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.004971, allocations: 1 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.005102, allocations: 23.84 kB / 0.8182 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.005142, allocations: 40.27 kB / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.005527, allocations: 178.4 kB / 0.8185 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.005663, allocations: 183.3 kB / 0.8186 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.005725, allocations: 13.3 kB / 0.8186 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.005861, allocations: 112.6 kB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.005928, allocations: 63.83 kB / 0.8188 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.005947, allocations: 12.84 kB / 0.8188 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.00614, allocations: 141 kB / 0.819 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.006164, allocations: 27.91 kB / 0.819 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.006202, allocations: 51.83 kB / 0.819 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.00643, allocations: 220.1 kB / 0.8192 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006433, allocations: 0 / 0.8192 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006433, allocations: 0 / 0.8192 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.006437, allocations: 0.875 kB / 0.8192 GB, free: 10.81 MB / 0.7761 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.0004568/0.006893, allocations: 0.4934 MB / 0.8197 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.00692, allocations: 13.22 kB / 0.8197 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.006958, allocations: 16.84 kB / 0.8198 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.007035, allocations: 132.4 kB / 0.8199 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.007046, allocations: 11.53 kB / 0.8199 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.007062, allocations: 12.38 kB / 0.8199 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.007188, allocations: 90.91 kB / 0.82 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.007195, allocations: 4.188 kB / 0.82 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.007203, allocations: 4.125 kB / 0.82 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007211, allocations: 4 kB / 0.82 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.007281, allocations: 46.45 kB / 0.82 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.007757, allocations: 407 kB / 0.8204 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.641e-05/0.007843, allocations: 75.02 kB / 0.8205 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.007873, allocations: 28.33 kB / 0.8205 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.008447, allocations: 0.5525 MB / 0.8211 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.008466, allocations: 37.33 kB / 0.8211 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.008467, allocations: 3.938 kB / 0.8211 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001672/0.008634, allocations: 98.78 kB / 0.8212 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.008659, allocations: 51.41 kB / 0.8213 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.00876, allocations: 220.6 kB / 0.8215 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008774, allocations: 34.89 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.00883, allocations: 155.2 kB / 0.8216 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.008849, allocations: 39.64 kB / 0.8217 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.008906, allocations: 70.38 kB / 0.8218 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.00902, allocations: 0.4961 MB / 0.8222 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.009054, allocations: 19.98 kB / 0.8223 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/0.009115, allocations: 70.64 kB / 0.8223 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.009205, allocations: 93.09 kB / 0.8224 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009207, allocations: 0 / 0.8224 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001611/0.009368, allocations: 158.5 kB / 0.8226 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.009379, allocations: 4 kB / 0.8226 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009384, allocations: 4 kB / 0.8226 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.009392, allocations: 3.984 kB / 0.8226 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.009518, allocations: 52.42 kB / 0.8226 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.009521, allocations: 0 / 0.8226 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.00958, allocations: 32.89 kB / 0.8227 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.009595, allocations: 8 kB / 0.8227 GB, free: 7.098 MB / 0.7761 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 6.689e-05/0.009662, allocations: 169.5 kB / 0.8228 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.009686, allocations: 15.95 kB / 0.8228 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.009813, allocations: 111.1 kB / 0.8229 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.009815, allocations: 0 / 0.8229 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009817, allocations: 0 / 0.8229 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00982, allocations: 4 kB / 0.8229 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.009929, allocations: 137.1 kB / 0.8231 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.00993, allocations: 0 / 0.8231 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.009988, allocations: 27.92 kB / 0.8231 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.009989, allocations: 0 / 0.8231 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.009994, allocations: 0 / 0.8231 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009996, allocations: 4 kB / 0.8231 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.009996, allocations: 0 / 0.8231 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01012, allocations: 247.7 kB / 0.8233 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.01015, allocations: 19.94 kB / 0.8234 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.01016, allocations: 8 kB / 0.8234 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.01021, allocations: 4 kB / 0.8234 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.01024, allocations: 15.97 kB / 0.8234 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.01025, allocations: 0 / 0.8234 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.0103, allocations: 153 kB / 0.8235 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0103, allocations: 3.938 kB / 0.8235 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002081/0.0105, allocations: 63.83 kB / 0.8236 GB, free: 6.074 MB / 0.7761 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.0001537/0.01066, allocations: 159 kB / 0.8238 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01078, allocations: 88.2 kB / 0.8238 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01078, allocations: 0 / 0.8238 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.01082, allocations: 39.55 kB / 0.8239 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.01101, allocations: 32.11 kB / 0.8239 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.01138, allocations: 242 kB / 0.8241 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.01142, allocations: 67.7 kB / 0.8242 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.01147, allocations: 21.12 kB / 0.8242 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.01156, allocations: 98.19 kB / 0.8243 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01156, allocations: 0 / 0.8243 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of Templates: time 0.004093/0.01565, allocations: 3.169 MB / 0.8274 GB, free: 2.156 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.806056722998619]