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.001721/0.001721, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002092/0.002092, allocations: 214 kB / 22.99 MB, free: 4.957 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.205/3.205, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 176] 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.002088/0.002088, allocations: 69.52 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3824, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007244/0.3896, allocations: 4.436 MB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3909, allocations: 0.7556 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.3909, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3911, allocations: 27.78 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.3912, allocations: 35.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.3918, allocations: 171.4 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.392, allocations: 175.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.3921, allocations: 29.2 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3923, allocations: 79.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3924, allocations: 71.72 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3924, allocations: 16 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.3927, allocations: 127.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.3928, allocations: 35.89 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.3929, allocations: 59.72 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.3932, allocations: 243.1 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3932, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3932, allocations: 3.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3933, allocations: 3.938 kB / 1.332 GB, free: 11.57 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.0009112/0.3942, allocations: 401.5 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3942, allocations: 12.02 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.3943, allocations: 20.84 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3944, allocations: 120.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3944, allocations: 12.38 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3945, allocations: 8.375 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.3948, allocations: 125.7 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3948, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3948, allocations: 4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3948, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.3953, allocations: 145.6 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.3962, allocations: 392.1 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.3965, allocations: 122.5 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.3967, allocations: 65.06 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.3979, allocations: 472.1 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3979, allocations: 34.55 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3979, allocations: 0 / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006983/0.3986, allocations: 209.4 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.3987, allocations: 59.34 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3989, allocations: 168.1 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3989, allocations: 29.7 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.399, allocations: 120.3 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.399, allocations: 35.69 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.3991, allocations: 57.66 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3993, allocations: 322.8 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3995, allocations: 75.94 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3998, allocations: 111.3 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4002, allocations: 173.7 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4002, allocations: 0 / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005758/0.4008, allocations: 233.3 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4008, allocations: 8 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4008, allocations: 4.094 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4008, allocations: 0 / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4011, allocations: 67.83 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4011, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.4013, allocations: 31.83 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.4013, allocations: 4 kB / 1.336 GB, free: 7.793 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.0001205/0.4014, allocations: 130.2 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.4015, allocations: 11.91 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.402, allocations: 182.9 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.402, allocations: 3.938 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.402, allocations: 0 / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.402, allocations: 3.984 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4022, allocations: 145.3 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4022, allocations: 3.938 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.4024, allocations: 35.97 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4024, allocations: 4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4024, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4024, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.4024, allocations: 3.938 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.4029, allocations: 255.9 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.4029, allocations: 23.83 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.403, allocations: 4 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4031, allocations: 23.97 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.4032, allocations: 19.86 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4032, allocations: 4 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.845e-05/0.4033, allocations: 116 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4033, allocations: 0 / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003396/0.4036, allocations: 55.88 kB / 1.337 GB, free: 6.723 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.0003224/0.4039, allocations: 159.1 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.4045, allocations: 163.8 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4045, allocations: 4.188 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.4047, allocations: 63.94 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.405, allocations: 23.92 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.4056, allocations: 275 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.4057, allocations: 93.62 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.4058, allocations: 27.42 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4058, allocations: 0 / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of Templates: time 0.005221/0.411, allocations: 2.606 MB / 1.34 GB, free: 3.281 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: 11.718556736595929]