Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001632/0.001632, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001645/0.001645, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7107 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 0.8694 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7556, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005781/0.7614, allocations: 4.615 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.7624, allocations: 0.8109 MB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.7625, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.7627, allocations: 27.81 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.7628, allocations: 23.78 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.7633, allocations: 159.5 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.7634, allocations: 179.4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.7635, allocations: 9.125 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.7637, allocations: 83.7 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.7638, allocations: 83.66 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.7638, allocations: 16 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.7641, allocations: 155.8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.7642, allocations: 27.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.7643, allocations: 67.66 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.7645, allocations: 165.6 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7645, allocations: 4 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7645, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7645, allocations: 0 / 1.024 GB, free: 12.27 MB / 0.7794 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.0008277/0.7654, allocations: 479 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7654, allocations: 8.031 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.7655, allocations: 16.75 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.7656, allocations: 192 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.7656, allocations: 8.375 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.7657, allocations: 12.38 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.766, allocations: 117.8 kB / 1.025 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.766, allocations: 0 / 1.025 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.766, allocations: 11.98 kB / 1.025 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.766, allocations: 3.938 kB / 1.025 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.7664, allocations: 139.8 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.7674, allocations: 472.4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.7677, allocations: 118.5 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.7679, allocations: 76.8 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.7692, allocations: 0.9606 MB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.7692, allocations: 34.56 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.7692, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006444/0.7699, allocations: 225.5 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7699, allocations: 51.41 kB / 1.027 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.7701, allocations: 161.2 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7701, allocations: 33.7 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.7702, allocations: 108.3 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.7702, allocations: 43.34 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.7703, allocations: 49.7 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.7704, allocations: 322.8 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.7706, allocations: 83.88 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.7709, allocations: 108.8 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.7713, allocations: 185.1 kB / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7713, allocations: 0 / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005205/0.7718, allocations: 238.7 kB / 1.028 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7718, allocations: 10.12 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7718, allocations: 0 / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7719, allocations: 11.92 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.7721, allocations: 55.91 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7722, allocations: 4 kB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7723, allocations: 27.73 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.7723, allocations: 11.98 kB / 1.028 GB, free: 7.582 MB / 0.7794 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.833e-05/0.7724, allocations: 126.3 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.7725, allocations: 11.91 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.773, allocations: 182.7 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.773, allocations: 4 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.773, allocations: 0 / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.773, allocations: 0 / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.7732, allocations: 213.6 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7732, allocations: 0 / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.7734, allocations: 31.91 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7734, allocations: 4 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.7734, allocations: 3.938 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7734, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.7734, allocations: 0 / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.7738, allocations: 259.2 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.7739, allocations: 104.9 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.7739, allocations: 3.938 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.7741, allocations: 15.98 kB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.7741, allocations: 7.984 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.7741, allocations: 0 / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.365e-05/0.7742, allocations: 129.6 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7742, allocations: 0 / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003185/0.7746, allocations: 60.38 kB / 1.029 GB, free: 6.352 MB / 0.7794 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.000279/0.7748, allocations: 160.1 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.7754, allocations: 180.4 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7754, allocations: 3.938 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.7756, allocations: 67.89 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.7759, allocations: 32.16 kB / 1.029 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.7764, allocations: 314.8 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.7767, allocations: 0.7006 MB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.7768, allocations: 27.42 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7768, allocations: 0 / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.004214/0.781, allocations: 2.546 MB / 1.033 GB, free: 2.289 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches