Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005296/0.005296, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001152/0.001152, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3772, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006193/0.3835, allocations: 4.593 MB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3845, allocations: 0.8139 MB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.3846, allocations: 0 / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.3848, allocations: 31.77 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.3849, allocations: 31.7 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.3854, allocations: 175.3 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3856, allocations: 175.4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.3857, allocations: 17.09 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3859, allocations: 83.77 kB / 1.214 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.386, allocations: 83.66 kB / 1.214 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.386, allocations: 16 kB / 1.214 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.3864, allocations: 151.8 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.3864, allocations: 35.89 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.3865, allocations: 67.66 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3868, allocations: 239.3 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3868, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3868, allocations: 3.938 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3868, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 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.0008275/0.3877, allocations: 482.9 kB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3877, allocations: 12.03 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.3878, allocations: 16.75 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3879, allocations: 172.2 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3879, allocations: 8.375 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.388, allocations: 12.38 kB / 1.215 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3883, allocations: 133.7 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3883, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3883, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3883, allocations: 4 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.3887, allocations: 139.9 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.3896, allocations: 464.4 kB / 1.215 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3899, allocations: 134.4 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3901, allocations: 68.81 kB / 1.216 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.3914, allocations: 0.9606 MB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3914, allocations: 38.56 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3914, allocations: 0 / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0006263/0.3921, allocations: 209.3 kB / 1.217 GB, free: 16 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3921, allocations: 51.41 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3923, allocations: 163.3 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3923, allocations: 29.7 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.3924, allocations: 116.2 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3924, allocations: 39.45 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.3925, allocations: 45.7 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3926, allocations: 326.8 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.3928, allocations: 75.94 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3931, allocations: 115.4 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.3935, allocations: 169.9 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3935, allocations: 0 / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005262/0.394, allocations: 241.2 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.394, allocations: 9.719 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.394, allocations: 0 / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3941, allocations: 8.031 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3943, allocations: 55.91 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3944, allocations: 0 / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3945, allocations: 35.75 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.3945, allocations: 8 kB / 1.218 GB, free: 14.48 MB / 0.9825 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.551e-05/0.3946, allocations: 125.8 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3947, allocations: 11.81 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.3951, allocations: 186.8 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3951, allocations: 0 / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3952, allocations: 0 / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3952, allocations: 0 / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3954, allocations: 213.5 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3954, allocations: 0 / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3955, allocations: 43.97 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3956, allocations: 0 / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3956, allocations: 3.938 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3956, allocations: 0 / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3956, allocations: 4 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.396, allocations: 259.2 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.3961, allocations: 96.91 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3961, allocations: 7.938 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3962, allocations: 19.86 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.3963, allocations: 11.98 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.3963, allocations: 4 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.3964, allocations: 116.9 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3964, allocations: 0 / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000324/0.3967, allocations: 68.3 kB / 1.219 GB, free: 13.23 MB / 0.9825 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.0002971/0.397, allocations: 159.2 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.3975, allocations: 167.8 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3975, allocations: 0 / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.3977, allocations: 72.55 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.398, allocations: 16.17 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.3985, allocations: 265.3 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3988, allocations: 0.7006 MB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.267e-05/0.3989, allocations: 21.02 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3989, allocations: 19.38 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3989, allocations: 0 / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.005728/0.4047, allocations: 2.745 MB / 1.223 GB, free: 9.051 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches