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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001011/0.001011, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001243/0.001243, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.5608, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004482/0.5653, allocations: 4.089 MB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.5663, allocations: 0.7647 MB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.5664, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.5665, allocations: 23.84 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.5666, allocations: 31.75 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.567, allocations: 127.5 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.5672, allocations: 159.4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.5672, allocations: 13.12 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.5674, allocations: 79.67 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.908e-05/0.5675, allocations: 63.81 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.5676, allocations: 7.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.5678, allocations: 119.8 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.5679, allocations: 27.91 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.5679, allocations: 45.64 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5682, allocations: 157.6 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5682, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5682, allocations: 3.938 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5682, allocations: 0 / 1.028 GB, free: 10.35 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.0007422/0.5689, allocations: 470.8 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.569, allocations: 8.562 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.569, allocations: 15.91 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5691, allocations: 192.3 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5692, allocations: 15.88 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5692, allocations: 12 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.5695, allocations: 125.6 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.5695, allocations: 0 / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5695, allocations: 0 / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5696, allocations: 0 / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.57, allocations: 163.9 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008872/0.5709, allocations: 480.4 kB / 1.029 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.5712, allocations: 134.5 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.5714, allocations: 84.81 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.5726, allocations: 0.9568 MB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.5726, allocations: 38.52 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.5726, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006403/0.5733, allocations: 253.2 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.5733, allocations: 55.41 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.5735, allocations: 157.5 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.5735, allocations: 25.7 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.5736, allocations: 108.3 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.5736, allocations: 47.44 kB / 1.031 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.5736, allocations: 4 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.5737, allocations: 326.8 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.5739, allocations: 87.88 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.5742, allocations: 116.9 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.5744, allocations: 98.39 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5744, allocations: 0 / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000549/0.575, allocations: 261.1 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.575, allocations: 15.94 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.575, allocations: 0 / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.575, allocations: 4 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.5753, allocations: 64 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5753, allocations: 0 / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5755, allocations: 35.73 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.5755, allocations: 11.98 kB / 1.032 GB, free: 5.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.5756, allocations: 117.8 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.5756, allocations: 15.84 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.5761, allocations: 215.1 kB / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5761, allocations: 0 / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5761, allocations: 0 / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5762, allocations: 0 / 1.032 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5764, allocations: 217.5 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5764, allocations: 0 / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.5765, allocations: 31.97 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5766, allocations: 4 kB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5766, allocations: 4 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.5766, allocations: 7.891 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5766, allocations: 0 / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.577, allocations: 279.2 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.5771, allocations: 100.9 kB / 1.033 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5771, allocations: 8 kB / 1.033 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5773, allocations: 23.98 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.5773, allocations: 11.94 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.5773, allocations: 0 / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.5774, allocations: 118.3 kB / 1.033 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5774, allocations: 0 / 1.033 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003235/0.5778, allocations: 60.36 kB / 1.033 GB, free: 4.402 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.578, allocations: 169.2 kB / 1.033 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.5785, allocations: 191.8 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5785, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.5787, allocations: 80.08 kB / 1.034 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.579, allocations: 21.95 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.5795, allocations: 357.8 kB / 1.034 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.5797, allocations: 0.7087 MB / 1.035 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.5799, allocations: 17.06 kB / 1.035 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.5799, allocations: 19.44 kB / 1.035 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of SimCode: time 1.482e-06/0.5799, allocations: 0 / 1.035 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.005247/0.5852, allocations: 2.476 MB / 1.037 GB, free: 352 kB / 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/jenkins/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