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.001097/0.001097, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001137/0.001137, allocations: 161 kB / 23.82 MB, free: 0.7461 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.033/1.033, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.514e-06/2.514e-06, allocations: 0 / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.767e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005058/0.005096, allocations: 4.731 MB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.005906, allocations: 0.8336 MB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.005966, allocations: 4 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.00617, allocations: 25.59 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.006212, allocations: 39.64 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.006732, allocations: 182.4 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.006902, allocations: 183.3 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.007012, allocations: 9.312 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.007207, allocations: 111.7 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.007289, allocations: 65.84 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.007312, allocations: 12 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.007549, allocations: 139.8 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.007578, allocations: 35.83 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.007629, allocations: 51.89 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.007923, allocations: 211.8 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.007927, allocations: 1.906 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.041e-06/0.007928, allocations: 0 / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.007933, allocations: 0 / 0.818 GB, free: 11.09 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.0006293/0.008563, allocations: 0.4903 MB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.008603, allocations: 8.031 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.008656, allocations: 24.84 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.008755, allocations: 131.1 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.008771, allocations: 12.36 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.008793, allocations: 17.47 kB / 0.8187 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.008981, allocations: 94.91 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.008991, allocations: 4.766 kB / 0.8188 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.009011, allocations: 8.125 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.009019, allocations: 0.75 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.009127, allocations: 55.95 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.009766, allocations: 424 kB / 0.8193 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.009907, allocations: 86.97 kB / 0.8193 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.009963, allocations: 39.61 kB / 0.8194 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/0.01067, allocations: 0.5477 MB / 0.8199 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.0107, allocations: 39.09 kB / 0.8199 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.0107, allocations: 0 / 0.8199 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002632/0.01096, allocations: 109.5 kB / 0.8201 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.011, allocations: 59.39 kB / 0.8201 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01115, allocations: 220.4 kB / 0.8203 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.01116, allocations: 27.05 kB / 0.8203 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.01125, allocations: 163.2 kB / 0.8205 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.01128, allocations: 39.64 kB / 0.8205 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.01134, allocations: 60.08 kB / 0.8206 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01147, allocations: 0.4961 MB / 0.8211 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.01152, allocations: 32.62 kB / 0.8211 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.0116, allocations: 78.66 kB / 0.8212 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.01172, allocations: 103.8 kB / 0.8213 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01172, allocations: 4 kB / 0.8213 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002132/0.01194, allocations: 167.2 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01195, allocations: 4 kB / 0.8215 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01196, allocations: 4 kB / 0.8215 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01197, allocations: 0 / 0.8215 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01211, allocations: 51.97 kB / 0.8215 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.01212, allocations: 8.031 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.01218, allocations: 27.72 kB / 0.8215 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.0122, allocations: 15.98 kB / 0.8216 GB, free: 7.25 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 8.098e-05/0.01228, allocations: 160.6 kB / 0.8217 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01231, allocations: 11.95 kB / 0.8217 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.01248, allocations: 115 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01248, allocations: 3.938 kB / 0.8218 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.01248, allocations: 4 kB / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01249, allocations: 0 / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01262, allocations: 160.5 kB / 0.822 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01263, allocations: 0 / 0.822 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.01269, allocations: 27.98 kB / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01269, allocations: 0 / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.0127, allocations: 0 / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01271, allocations: 0 / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01271, allocations: 0 / 0.822 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01288, allocations: 259.6 kB / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.01292, allocations: 15.94 kB / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.01293, allocations: 0 / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.01298, allocations: 15.98 kB / 0.8223 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.01303, allocations: 11.92 kB / 0.8223 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.01304, allocations: 8 kB / 0.8223 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.869e-05/0.01311, allocations: 160.8 kB / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01311, allocations: 0 / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002183/0.01333, allocations: 63.83 kB / 0.8225 GB, free: 6.184 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.0002364/0.01356, allocations: 163 kB / 0.8227 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01374, allocations: 99.52 kB / 0.8228 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01374, allocations: 0 / 0.8228 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.01379, allocations: 35.67 kB / 0.8228 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01402, allocations: 22.55 kB / 0.8228 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01463, allocations: 251.2 kB / 0.8231 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.01467, allocations: 67.7 kB / 0.8231 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.721e-05/0.01473, allocations: 28.19 kB / 0.8232 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.01478, allocations: 20.5 kB / 0.8232 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01478, allocations: 0 / 0.8232 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of Templates: time 0.004979/0.01976, allocations: 2.8 MB / 0.8259 GB, free: 2.695 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: 5.856914788950235]