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.001483/0.001483, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001683/0.001683, allocations: 217.4 kB / 23.01 MB, free: 4.566 MB / 14.72 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.919/2.919, allocations: 0.49 GB / 0.7958 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 76.23 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006516/0.3061, allocations: 4.708 MB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3073, allocations: 0.8256 MB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3073, allocations: 0 / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3075, allocations: 31.77 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3076, allocations: 39.7 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3081, allocations: 171.3 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3083, allocations: 175.4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.788e-05/0.3084, allocations: 17.3 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3085, allocations: 87.69 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3086, allocations: 79.72 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3087, allocations: 12 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.309, allocations: 159.7 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.309, allocations: 35.89 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3091, allocations: 63.67 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.3094, allocations: 239.1 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3095, allocations: 0 / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3095, allocations: 0 / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3095, allocations: 4 kB / 1.334 GB, free: 10.81 MB / 1.029 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.0008692/0.3103, allocations: 409.5 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3104, allocations: 8.031 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.3104, allocations: 16.84 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3105, allocations: 135.4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3106, allocations: 8.312 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3106, allocations: 12.38 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.3109, allocations: 123.2 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3109, allocations: 3.984 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3109, allocations: 4 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3109, allocations: 0 / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.3113, allocations: 147.9 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.3123, allocations: 443.5 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.3126, allocations: 114.5 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3127, allocations: 64.81 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.3139, allocations: 0.4924 MB / 1.336 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3139, allocations: 34.56 kB / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3139, allocations: 0 / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006589/0.3146, allocations: 221.3 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.3146, allocations: 51.41 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.3148, allocations: 164.2 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3148, allocations: 29.7 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3149, allocations: 108.4 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.3149, allocations: 39.64 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.315, allocations: 49.7 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3152, allocations: 326.8 kB / 1.337 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3154, allocations: 75.94 kB / 1.337 GB, free: 7.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.3156, allocations: 111.3 kB / 1.337 GB, free: 7.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.316, allocations: 173.3 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.316, allocations: 4 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005577/0.3166, allocations: 239.1 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3166, allocations: 8 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3166, allocations: 7.938 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3166, allocations: 3.938 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.3169, allocations: 55.95 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3169, allocations: 4 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3171, allocations: 31.83 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3171, allocations: 4 kB / 1.337 GB, free: 6.93 MB / 1.029 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 0.0001198/0.3172, allocations: 140.1 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3173, allocations: 7.953 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.3178, allocations: 190.7 kB / 1.338 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3178, allocations: 4 kB / 1.338 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3178, allocations: 0 / 1.338 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3178, allocations: 4 kB / 1.338 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.318, allocations: 184.7 kB / 1.338 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.318, allocations: 0 / 1.338 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.3182, allocations: 31.97 kB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3182, allocations: 0 / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3182, allocations: 3.938 kB / 1.338 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3182, allocations: 4 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3182, allocations: 0 / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.3186, allocations: 267.7 kB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3187, allocations: 23.83 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.3187, allocations: 7.938 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3189, allocations: 15.97 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3189, allocations: 7.984 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3189, allocations: 8 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.319, allocations: 116 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.319, allocations: 0 / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003298/0.3193, allocations: 59.88 kB / 1.338 GB, free: 5.801 MB / 1.029 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.000277/0.3196, allocations: 161.3 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.3201, allocations: 163.7 kB / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3201, allocations: 0 / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3203, allocations: 64.14 kB / 1.339 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3206, allocations: 17.67 kB / 1.339 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.3212, allocations: 283 kB / 1.339 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3215, allocations: 0.7084 MB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.3216, allocations: 19.42 kB / 1.34 GB, free: 4.336 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/0.3216, allocations: 0 / 1.34 GB, free: 4.336 MB / 1.029 GB Notification: Performance of Templates: time 0.004817/0.3264, allocations: 2.576 MB / 1.342 GB, free: 1.777 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.416568286978872]