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.0009323/0.0009323, allocations: 80.94 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.0009604/0.0009604, allocations: 177 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.9695/0.9695, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.41/2.41, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.212e-06/1.212e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.718e-05, allocations: 8.562 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005982/0.005999, allocations: 4.776 MB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000827/0.006826, allocations: 0.8448 MB / 0.8442 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.006881, allocations: 4 kB / 0.8442 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.007033, allocations: 27.73 kB / 0.8442 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.007077, allocations: 39.69 kB / 0.8442 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.007481, allocations: 179.2 kB / 0.8444 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.007624, allocations: 179.3 kB / 0.8446 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.007699, allocations: 13.94 kB / 0.8446 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.007864, allocations: 111.8 kB / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.007941, allocations: 63.86 kB / 0.8448 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.007963, allocations: 15.94 kB / 0.8448 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.008209, allocations: 147.7 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.008238, allocations: 35.89 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.008291, allocations: 43.91 kB / 0.845 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.008561, allocations: 215.3 kB / 0.8452 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.008565, allocations: 0 / 0.8452 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008566, allocations: 0 / 0.8452 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.00857, allocations: 0 / 0.8452 GB, free: 7.383 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.0004809/0.009051, allocations: 375.8 kB / 0.8455 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.00909, allocations: 12.03 kB / 0.8456 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.009129, allocations: 16.92 kB / 0.8456 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.009242, allocations: 137.5 kB / 0.8457 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.009259, allocations: 12.28 kB / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.009276, allocations: 12.38 kB / 0.8457 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.009418, allocations: 101.1 kB / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.009425, allocations: 0 / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.009434, allocations: 7.938 kB / 0.8458 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.009439, allocations: 4 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.009507, allocations: 35.91 kB / 0.8459 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.009986, allocations: 289.7 kB / 0.8461 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.01008, allocations: 62.48 kB / 0.8462 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.01011, allocations: 28.84 kB / 0.8462 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.01069, allocations: 426.6 kB / 0.8466 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.01071, allocations: 34.56 kB / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.01071, allocations: 0 / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001491/0.01086, allocations: 73.67 kB / 0.8467 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.01089, allocations: 63.34 kB / 0.8468 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/0.01099, allocations: 179.1 kB / 0.847 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.011, allocations: 33.64 kB / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.01104, allocations: 96.53 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.01106, allocations: 47.62 kB / 0.8471 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.01112, allocations: 53.66 kB / 0.8472 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.0112, allocations: 322.8 kB / 0.8475 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.01123, allocations: 16 kB / 0.8475 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.01129, allocations: 58.89 kB / 0.8476 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.01137, allocations: 87.3 kB / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01137, allocations: 0 / 0.8477 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001438/0.01152, allocations: 117.4 kB / 0.8478 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01153, allocations: 4 kB / 0.8478 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01153, allocations: 0 / 0.8478 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01155, allocations: 4 kB / 0.8478 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.01168, allocations: 55.91 kB / 0.8478 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01169, allocations: 3.938 kB / 0.8478 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.01175, allocations: 35.86 kB / 0.8479 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01176, allocations: 8 kB / 0.8479 GB, free: 4.438 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 5.904e-05/0.01182, allocations: 117.8 kB / 0.848 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.01185, allocations: 15.98 kB / 0.848 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.01197, allocations: 83.11 kB / 0.8481 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.01198, allocations: 15.84 kB / 0.8481 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01198, allocations: 4 kB / 0.8481 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01198, allocations: 3.938 kB / 0.8481 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.01212, allocations: 101.9 kB / 0.8482 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01213, allocations: 0 / 0.8482 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.0122, allocations: 35.98 kB / 0.8482 GB, free: 4.035 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.0122, allocations: 4 kB / 0.8482 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01221, allocations: 3.984 kB / 0.8482 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01221, allocations: 0 / 0.8482 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01221, allocations: 0 / 0.8482 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.01233, allocations: 171.4 kB / 0.8484 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.01236, allocations: 15.94 kB / 0.8484 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.01237, allocations: 0 / 0.8484 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.01242, allocations: 8 kB / 0.8484 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.01246, allocations: 11.97 kB / 0.8484 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01247, allocations: 8 kB / 0.8485 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.0125, allocations: 33.53 kB / 0.8485 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0125, allocations: 0 / 0.8485 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002147/0.01271, allocations: 63.86 kB / 0.8485 GB, free: 3.703 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.0002166/0.01293, allocations: 144 kB / 0.8487 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01305, allocations: 80.06 kB / 0.8488 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.01305, allocations: 0 / 0.8488 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.01308, allocations: 36.72 kB / 0.8488 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.01326, allocations: 23.98 kB / 0.8488 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.01371, allocations: 233.6 kB / 0.849 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.01375, allocations: 63.84 kB / 0.8491 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01381, allocations: 24.45 kB / 0.8491 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.0139, allocations: 83.38 kB / 0.8492 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.0139, allocations: 3.938 kB / 0.8492 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of Templates: time 0.004726/0.01863, allocations: 2.979 MB / 0.8521 GB, free: 24 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 -s gbode -gbm=radauIIA3 -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.263046969193965]