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.001014/0.001014, allocations: 79.69 kB / 20.01 MB, free: 4.488 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.0009506/0.0009506, allocations: 166 kB / 23.32 MB, free: 1.184 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.9653/0.9653, allocations: 177.1 MB / 203.6 MB, free: 5.707 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 1.847/1.847, allocations: 388.6 MB / 0.6335 GB, free: 13.09 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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 3.306e-06/3.306e-06, allocations: 3.984 kB / 1 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.311e-05, allocations: 2.281 kB / 1 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006268/0.006301, allocations: 4.417 MB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.007304, allocations: 0.7515 MB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.007385, allocations: 0 / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.00759, allocations: 39.66 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.007648, allocations: 35.7 kB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.008287, allocations: 171.3 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.008496, allocations: 179.3 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.008601, allocations: 17.3 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.008829, allocations: 119.7 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.008927, allocations: 59.86 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.008955, allocations: 12 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.009235, allocations: 135.8 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.009273, allocations: 35.84 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.009331, allocations: 47.89 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.009698, allocations: 263.2 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.009701, allocations: 0 / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.322e-06/0.009702, allocations: 0 / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.009707, allocations: 7.938 kB / 1.007 GB, free: 7.281 MB / 0.9636 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.0007898/0.0105, allocations: 409.4 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.01054, allocations: 9.344 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.0106, allocations: 16.84 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.01072, allocations: 123.6 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.01074, allocations: 12.38 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.01076, allocations: 12.38 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.01105, allocations: 125.5 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01106, allocations: 0 / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.01108, allocations: 8 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.01109, allocations: 0 / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.0114, allocations: 139.9 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.01219, allocations: 380.2 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.01244, allocations: 118.5 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.01258, allocations: 67.19 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/0.01344, allocations: 480 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.01346, allocations: 34.56 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01347, allocations: 0 / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0005473/0.01401, allocations: 209.4 kB / 1.009 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.01405, allocations: 63.28 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.01419, allocations: 167.2 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.01421, allocations: 29.7 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.01428, allocations: 116.5 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.01431, allocations: 35.66 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.01438, allocations: 53.69 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.01448, allocations: 318.8 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.01465, allocations: 79.89 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.01497, allocations: 115.3 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.01537, allocations: 169.5 kB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.01538, allocations: 4 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003367/0.01571, allocations: 241.3 kB / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01573, allocations: 5.562 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01574, allocations: 7.984 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01575, allocations: 3.938 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01591, allocations: 59.98 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.01592, allocations: 4 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.01599, allocations: 35.77 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01602, allocations: 8 kB / 1.01 GB, free: 3.488 MB / 0.9636 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 7.934e-05/0.01609, allocations: 125.8 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.01611, allocations: 7.953 kB / 1.01 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.0164, allocations: 179 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.0164, allocations: 3.938 kB / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01641, allocations: 0 / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01641, allocations: 3.984 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.01654, allocations: 149.2 kB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01654, allocations: 0 / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.01661, allocations: 31.91 kB / 1.011 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01661, allocations: 4 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01662, allocations: 8 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01663, allocations: 3.984 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01663, allocations: 3.938 kB / 1.011 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.01688, allocations: 255.3 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.01692, allocations: 19.88 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.01693, allocations: 0 / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.017, allocations: 23.97 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.01705, allocations: 23.8 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01706, allocations: 8 kB / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.01712, allocations: 112.9 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01712, allocations: 0 / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002376/0.01736, allocations: 59.88 kB / 1.011 GB, free: 2.426 MB / 0.9636 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.0002252/0.01758, allocations: 151.1 kB / 1.011 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.01788, allocations: 167.7 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01788, allocations: 0 / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.01798, allocations: 68.08 kB / 1.011 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.01826, allocations: 23.98 kB / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01866, allocations: 242.9 kB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.01873, allocations: 93.81 kB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.137e-05/0.0188, allocations: 21.02 kB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.01884, allocations: 20.5 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of SimCode: time 3.41e-07/0.01884, allocations: 0 / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of Templates: time 0.004334/0.02317, allocations: 2.823 MB / 1.015 GB, free: 14.83 MB / 0.9792 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",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.683790758252144]