Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001802/0.001803, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001704/0.001704, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.45 kB / 0.908 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006182/0.3104, allocations: 4.617 MB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3115, allocations: 0.814 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.3115, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3117, allocations: 23.83 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.3118, allocations: 27.78 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.3122, allocations: 155.5 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.3124, allocations: 175.4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.3125, allocations: 17.12 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.3127, allocations: 83.75 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3128, allocations: 79.67 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3128, allocations: 12 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.3131, allocations: 163.7 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.3132, allocations: 27.91 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.3132, allocations: 71.64 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3136, allocations: 239.6 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3136, allocations: 3.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3136, allocations: 4 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3136, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 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.0008546/0.3145, allocations: 482.8 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3145, allocations: 12.03 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.3146, allocations: 12.84 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3147, allocations: 178.5 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.3147, allocations: 8.375 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.3147, allocations: 20.3 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.3151, allocations: 123.5 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3151, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3151, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3151, allocations: 4 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.3155, allocations: 143.9 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.3165, allocations: 464.5 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3168, allocations: 126.5 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.317, allocations: 68.81 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.3184, allocations: 0.9568 MB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3185, allocations: 42.5 kB / 1.072 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.3185, allocations: 0 / 1.072 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006629/0.3191, allocations: 217.2 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3192, allocations: 51.41 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3194, allocations: 165.4 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3194, allocations: 29.7 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.3195, allocations: 108.3 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3195, allocations: 47.44 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.3196, allocations: 45.7 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3197, allocations: 326.8 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.32, allocations: 75.94 kB / 1.073 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3202, allocations: 106 kB / 1.073 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3206, allocations: 178.3 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3207, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005682/0.3212, allocations: 245.2 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3212, allocations: 8 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3213, allocations: 0 / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3213, allocations: 3.938 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3216, allocations: 59.89 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3216, allocations: 0 / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3217, allocations: 35.86 kB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.3218, allocations: 4 kB / 1.074 GB, free: 3.449 MB / 0.8262 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.000108/0.3219, allocations: 129.8 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.3219, allocations: 11.81 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.3224, allocations: 182.8 kB / 1.074 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3224, allocations: 0 / 1.074 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3224, allocations: 3.938 kB / 1.074 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3224, allocations: 3.984 kB / 1.074 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3227, allocations: 213.6 kB / 1.074 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3227, allocations: 0 / 1.074 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3228, allocations: 27.98 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3229, allocations: 0 / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3229, allocations: 15.92 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3229, allocations: 0 / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3229, allocations: 4 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.3234, allocations: 259.7 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3234, allocations: 93 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3235, allocations: 3.938 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3236, allocations: 19.98 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3237, allocations: 7.984 kB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3237, allocations: 11.94 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.712e-05/0.3238, allocations: 116.9 kB / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3238, allocations: 0 / 1.075 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003205/0.3241, allocations: 68.2 kB / 1.075 GB, free: 2.199 MB / 0.8262 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.0002828/0.3244, allocations: 159.2 kB / 1.075 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.3249, allocations: 167.8 kB / 1.075 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3249, allocations: 8.188 kB / 1.075 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.3251, allocations: 67.94 kB / 1.075 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3255, allocations: 27.91 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.326, allocations: 298.6 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3263, allocations: 0.7083 MB / 1.076 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.476e-05/0.3264, allocations: 17.08 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.3264, allocations: 15.44 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3265, allocations: 4 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of Templates: time 0.005906/0.3324, allocations: 2.609 MB / 1.079 GB, free: 14.09 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches