Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 105.7 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.19 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00578/0.3088, allocations: 4.582 MB / 0.9556 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3098, allocations: 0.8186 MB / 0.9564 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3099, allocations: 4 kB / 0.9564 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.3101, allocations: 31.7 kB / 0.9564 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.3102, allocations: 31.7 kB / 0.9565 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.3107, allocations: 175.3 kB / 0.9566 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3109, allocations: 171.4 kB / 0.9568 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.311, allocations: 25.08 kB / 0.9568 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3112, allocations: 75.77 kB / 0.9569 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3113, allocations: 79.66 kB / 0.957 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3113, allocations: 16 kB / 0.957 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.3116, allocations: 155.8 kB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.3117, allocations: 31.89 kB / 0.9572 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.3118, allocations: 63.72 kB / 0.9572 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.3121, allocations: 243.2 kB / 0.9575 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3121, allocations: 0 / 0.9575 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3122, allocations: 4 kB / 0.9575 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.3122, allocations: 0 / 0.9575 GB, free: 1.551 MB / 0.7325 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.0009804/0.3132, allocations: 482.9 kB / 0.9579 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3132, allocations: 8.031 kB / 0.9579 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3133, allocations: 16.75 kB / 0.9579 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3134, allocations: 182.5 kB / 0.9581 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3135, allocations: 8.375 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.3135, allocations: 15.94 kB / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.3138, allocations: 121.5 kB / 0.9583 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3139, allocations: 0 / 0.9583 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3139, allocations: 4 kB / 0.9583 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3139, allocations: 0 / 0.9583 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.3143, allocations: 139.8 kB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.3153, allocations: 472.4 kB / 0.9588 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3156, allocations: 130.4 kB / 0.959 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3158, allocations: 72.81 kB / 0.959 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.3171, allocations: 0.9609 MB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3172, allocations: 38.5 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3172, allocations: 0 / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.0006635/0.3179, allocations: 217.2 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3179, allocations: 55.41 kB / 0.9603 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3181, allocations: 155.4 kB / 0.9604 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3181, allocations: 29.7 kB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.3182, allocations: 112.3 kB / 0.9606 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3183, allocations: 43.36 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.3183, allocations: 49.7 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3185, allocations: 318.8 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3187, allocations: 75.94 kB / 0.961 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3189, allocations: 113.3 kB / 0.9611 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.3193, allocations: 177.2 kB / 0.9613 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3193, allocations: 4 kB / 0.9613 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005102/0.3198, allocations: 237.3 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3199, allocations: 15.86 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3199, allocations: 0 / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3199, allocations: 4 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3202, allocations: 56 kB / 0.9616 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3202, allocations: 4 kB / 0.9616 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3203, allocations: 31.67 kB / 0.9616 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.3204, allocations: 11.98 kB / 0.9616 GB, free: 12.88 MB / 0.7481 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 9.8e-05/0.3205, allocations: 125.8 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3205, allocations: 11.84 kB / 0.9618 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.321, allocations: 183.3 kB / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.321, allocations: 0 / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.321, allocations: 0 / 0.9619 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.321, allocations: 7.938 kB / 0.962 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3212, allocations: 209.6 kB / 0.9622 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3212, allocations: 0 / 0.9622 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3214, allocations: 27.97 kB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3214, allocations: 7.875 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3214, allocations: 12 kB / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3214, allocations: 0 / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3214, allocations: 0 / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3218, allocations: 259.2 kB / 0.9624 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.3219, allocations: 108.9 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.322, allocations: 8 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3221, allocations: 11.98 kB / 0.9626 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.3221, allocations: 11.98 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3222, allocations: 4 kB / 0.9626 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.836e-05/0.3222, allocations: 116.9 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 4 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000326/0.3226, allocations: 60.06 kB / 0.9628 GB, free: 11.63 MB / 0.7481 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.0002922/0.3229, allocations: 155.1 kB / 0.9629 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.3233, allocations: 173.6 kB / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3234, allocations: 0 / 0.9631 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3235, allocations: 71.89 kB / 0.9631 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3239, allocations: 19.97 kB / 0.9632 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.3244, allocations: 253.2 kB / 0.9634 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3246, allocations: 0.7045 MB / 0.9641 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.413e-05/0.3247, allocations: 21.02 kB / 0.9641 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.3248, allocations: 19.44 kB / 0.9641 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of SimCode: time 1.613e-06/0.3248, allocations: 0 / 0.9641 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of Templates: time 0.005705/0.3305, allocations: 2.744 MB / 0.9668 GB, free: 7.461 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches