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.001007/0.001007, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001189/0.001189, allocations: 181 kB / 23.36 MB, free: 1.133 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.9157/0.9157, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.317/2.317, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.879e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004302/0.004321, allocations: 4.713 MB / 0.8432 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.005027, allocations: 0.8564 MB / 0.8441 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.005074, allocations: 4 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.005209, allocations: 27.83 kB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.005248, allocations: 35.66 kB / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.005642, allocations: 183.2 kB / 0.8443 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.005784, allocations: 179.3 kB / 0.8445 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.005851, allocations: 13.91 kB / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.006006, allocations: 115.8 kB / 0.8446 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.006076, allocations: 67.78 kB / 0.8447 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.006095, allocations: 12 kB / 0.8447 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.006287, allocations: 135.8 kB / 0.8448 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.006311, allocations: 31.89 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.006348, allocations: 51.89 kB / 0.8449 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.006574, allocations: 223.2 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.006576, allocations: 0 / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006577, allocations: 0 / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.00658, allocations: 4 kB / 0.8451 GB, free: 7.465 MB / 0.8073 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.0004485/0.007029, allocations: 363.8 kB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.00706, allocations: 12.03 kB / 0.8455 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.007095, allocations: 16.92 kB / 0.8455 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.189e-05/0.007187, allocations: 137.5 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.007199, allocations: 12.28 kB / 0.8456 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.007218, allocations: 16.31 kB / 0.8456 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.00736, allocations: 101 kB / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.007366, allocations: 0 / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.007376, allocations: 4 kB / 0.8457 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007383, allocations: 4 kB / 0.8457 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.007456, allocations: 35.97 kB / 0.8458 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.007928, allocations: 289.7 kB / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/0.008017, allocations: 70.41 kB / 0.8461 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.008044, allocations: 24.86 kB / 0.8461 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.008572, allocations: 414.4 kB / 0.8465 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.008594, allocations: 38.56 kB / 0.8466 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.008595, allocations: 0 / 0.8466 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001599/0.008755, allocations: 93.53 kB / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.008784, allocations: 51.41 kB / 0.8467 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.008873, allocations: 179.1 kB / 0.8469 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.008885, allocations: 25.7 kB / 0.8469 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.008931, allocations: 104.5 kB / 0.847 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.009035, allocations: 47.62 kB / 0.8471 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.009085, allocations: 45.69 kB / 0.8471 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.009155, allocations: 326.8 kB / 0.8474 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.009187, allocations: 19.98 kB / 0.8474 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.009236, allocations: 54.91 kB / 0.8475 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/0.009315, allocations: 91.28 kB / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009317, allocations: 0 / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001289/0.009446, allocations: 121.4 kB / 0.8477 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.009458, allocations: 6.031 kB / 0.8477 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.009462, allocations: 0 / 0.8477 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.009473, allocations: 4 kB / 0.8477 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.009596, allocations: 47.97 kB / 0.8477 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.009603, allocations: 11.97 kB / 0.8478 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.009663, allocations: 35.78 kB / 0.8478 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.00968, allocations: 7.984 kB / 0.8478 GB, free: 4.523 MB / 0.8073 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.34e-05/0.009743, allocations: 113.8 kB / 0.8479 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.009763, allocations: 8 kB / 0.8479 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.009883, allocations: 94.97 kB / 0.848 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009886, allocations: 4 kB / 0.848 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.009887, allocations: 0 / 0.848 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.009892, allocations: 3.938 kB / 0.848 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.009999, allocations: 109.7 kB / 0.8481 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01, allocations: 4 kB / 0.8481 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.01005, allocations: 19.98 kB / 0.8481 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01006, allocations: 4 kB / 0.8481 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.01006, allocations: 4 kB / 0.8481 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01006, allocations: 0 / 0.8481 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01007, allocations: 0 / 0.8481 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.01016, allocations: 179.9 kB / 0.8483 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.01019, allocations: 15.94 kB / 0.8483 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.0102, allocations: 0 / 0.8483 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.01025, allocations: 15.98 kB / 0.8483 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.01028, allocations: 7.984 kB / 0.8484 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01029, allocations: 4 kB / 0.8484 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.01031, allocations: 38.45 kB / 0.8484 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 3.938 kB / 0.8484 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000182/0.0105, allocations: 63.88 kB / 0.8485 GB, free: 3.793 MB / 0.8073 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.0001768/0.01067, allocations: 132.1 kB / 0.8486 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01079, allocations: 91.31 kB / 0.8487 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01079, allocations: 4 kB / 0.8487 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.01082, allocations: 20.86 kB / 0.8487 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.01098, allocations: 27.92 kB / 0.8487 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.01141, allocations: 237.6 kB / 0.849 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.01145, allocations: 67.84 kB / 0.849 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.527e-05/0.0115, allocations: 17.14 kB / 0.849 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.01159, allocations: 79.38 kB / 0.8491 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.01159, allocations: 0 / 0.8491 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of Templates: time 0.004213/0.0158, allocations: 2.981 MB / 0.852 GB, free: 124 kB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.1437340448610485]