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.001494/0.001494, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001768/0.001768, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.818/1.818, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.142e-06/1.142e-06, allocations: 0 / 0.8116 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.425e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004302/0.004316, allocations: 4.729 MB / 0.8162 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.005095, allocations: 0.8268 MB / 0.817 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.005155, allocations: 0 / 0.817 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.005314, allocations: 36.19 kB / 0.817 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.005355, allocations: 32.42 kB / 0.8171 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.005815, allocations: 186 kB / 0.8172 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.005965, allocations: 175.3 kB / 0.8174 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.006043, allocations: 18.14 kB / 0.8174 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.006197, allocations: 107.8 kB / 0.8175 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.006266, allocations: 60.38 kB / 0.8176 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.006286, allocations: 16.62 kB / 0.8176 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.006493, allocations: 140.3 kB / 0.8177 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.006518, allocations: 35.89 kB / 0.8178 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.006562, allocations: 45.28 kB / 0.8178 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.006812, allocations: 219.3 kB / 0.818 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.123e-06/0.006814, allocations: 0 / 0.818 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.412e-06/0.006816, allocations: 4.812 kB / 0.818 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.006819, allocations: 0 / 0.818 GB, free: 10.28 MB / 0.7292 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.0005739/0.007393, allocations: 498 kB / 0.8185 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.007428, allocations: 8.031 kB / 0.8185 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.007481, allocations: 17.81 kB / 0.8185 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.007584, allocations: 132.4 kB / 0.8186 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.007599, allocations: 8.375 kB / 0.8187 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.007614, allocations: 10.69 kB / 0.8187 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.007797, allocations: 100.9 kB / 0.8188 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007808, allocations: 192 / 0.8188 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.007823, allocations: 12.11 kB / 0.8188 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.007831, allocations: 0 / 0.8188 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.007938, allocations: 59.89 kB / 0.8188 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.008521, allocations: 426.8 kB / 0.8192 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.008658, allocations: 88.05 kB / 0.8193 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.008714, allocations: 35.61 kB / 0.8194 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.009441, allocations: 0.5556 MB / 0.8199 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.009466, allocations: 33.39 kB / 0.8199 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.009468, allocations: 1.062 kB / 0.8199 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0002536/0.009721, allocations: 117.5 kB / 0.82 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.009754, allocations: 51.41 kB / 0.8201 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.009909, allocations: 220.7 kB / 0.8203 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.009925, allocations: 29.7 kB / 0.8203 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.01, allocations: 163.1 kB / 0.8205 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.01002, allocations: 40.23 kB / 0.8205 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01008, allocations: 60.16 kB / 0.8206 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01021, allocations: 0.5 MB / 0.8211 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.01027, allocations: 28.58 kB / 0.8211 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.01036, allocations: 73.78 kB / 0.8212 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.01049, allocations: 107 kB / 0.8213 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01049, allocations: 0 / 0.8213 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002174/0.01071, allocations: 169.4 kB / 0.8214 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01072, allocations: 8 kB / 0.8214 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01073, allocations: 3.406 kB / 0.8214 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.01075, allocations: 7.984 kB / 0.8214 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.0109, allocations: 43.92 kB / 0.8215 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.0109, allocations: 4 kB / 0.8215 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.011, allocations: 31.81 kB / 0.8215 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.01103, allocations: 4 kB / 0.8215 GB, free: 6.469 MB / 0.7292 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 8.945e-05/0.01112, allocations: 172.5 kB / 0.8217 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01115, allocations: 15.91 kB / 0.8217 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.01132, allocations: 115.1 kB / 0.8218 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01133, allocations: 0 / 0.8218 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01133, allocations: 0 / 0.8218 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01133, allocations: 0 / 0.8218 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.01147, allocations: 156.5 kB / 0.822 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01148, allocations: 0 / 0.822 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.01154, allocations: 27.92 kB / 0.822 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01155, allocations: 3.984 kB / 0.822 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01155, allocations: 4 kB / 0.822 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01156, allocations: 0 / 0.822 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01156, allocations: 4 kB / 0.822 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01174, allocations: 247.7 kB / 0.8222 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.01178, allocations: 27.86 kB / 0.8223 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.01179, allocations: 4 kB / 0.8223 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.01184, allocations: 4 kB / 0.8223 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.01189, allocations: 19.91 kB / 0.8223 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.01189, allocations: 4 kB / 0.8223 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.01196, allocations: 153.5 kB / 0.8224 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01196, allocations: 0 / 0.8224 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002359/0.01219, allocations: 59.88 kB / 0.8225 GB, free: 5.395 MB / 0.7292 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.0002235/0.01242, allocations: 171 kB / 0.8227 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.01262, allocations: 95.52 kB / 0.8228 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01262, allocations: 192 / 0.8228 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.01269, allocations: 47.59 kB / 0.8228 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.01293, allocations: 28.86 kB / 0.8228 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.01348, allocations: 242.9 kB / 0.8231 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.01352, allocations: 71.98 kB / 0.8231 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.153e-05/0.01358, allocations: 20.34 kB / 0.8231 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.01363, allocations: 24.48 kB / 0.8232 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/0.01363, allocations: 0 / 0.8232 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of Templates: time 0.004239/0.01787, allocations: 2.879 MB / 0.826 GB, free: 1.816 MB / 0.7292 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.996806344017386]