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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001909/0.00191, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.633/1.633, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.867/2.867, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 64.77 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006756/0.3866, allocations: 4.622 MB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3878, allocations: 0.8296 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.3879, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.3881, allocations: 27.83 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.3882, allocations: 27.77 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.3887, allocations: 143.6 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3889, allocations: 171.3 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.389, allocations: 17.11 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3891, allocations: 75.69 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3893, allocations: 67.75 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3893, allocations: 8 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.3896, allocations: 151.8 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.3897, allocations: 19.92 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.3898, allocations: 63.64 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3902, allocations: 239.5 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3902, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3902, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3902, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 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.001119/0.3913, allocations: 483 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3914, allocations: 8.031 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.3915, allocations: 16.75 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3917, allocations: 183.2 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3917, allocations: 8.375 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.3917, allocations: 8.375 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.3921, allocations: 125.7 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3921, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3922, allocations: 4 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.3922, allocations: 7.984 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3926, allocations: 139.8 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3938, allocations: 468.4 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3941, allocations: 126.5 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3943, allocations: 75.81 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.3959, allocations: 0.9725 MB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.396, allocations: 42.56 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.396, allocations: 0 / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007008/0.3967, allocations: 213.6 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3968, allocations: 59.34 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3969, allocations: 160 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.397, allocations: 29.7 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.397, allocations: 108.3 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.3971, allocations: 51.34 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3972, allocations: 45.7 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3973, allocations: 322.8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3976, allocations: 71.94 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.3978, allocations: 112.7 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.3982, allocations: 175.3 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3982, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005516/0.3988, allocations: 236.1 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3988, allocations: 8 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3988, allocations: 4.094 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3988, allocations: 7.938 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.3991, allocations: 55.89 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3991, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3993, allocations: 35.67 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3993, allocations: 11.98 kB / 1.063 GB, free: 13.66 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.0001315/0.3995, allocations: 121.8 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.3995, allocations: 15.81 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.4, allocations: 190.8 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4001, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4001, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4001, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.4004, allocations: 209.6 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4004, allocations: 8 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4005, allocations: 27.97 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4005, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4006, allocations: 7.938 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4006, allocations: 4 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4006, allocations: 0 / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.4011, allocations: 263.1 kB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.4012, allocations: 96.98 kB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4012, allocations: 7.938 kB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4013, allocations: 11.98 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.4014, allocations: 7.984 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4014, allocations: 4 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.007e-05/0.4015, allocations: 116 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4015, allocations: 4 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000374/0.4019, allocations: 60.06 kB / 1.064 GB, free: 12.43 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.0003867/0.4023, allocations: 151.2 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.4028, allocations: 171.8 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4028, allocations: 3.938 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.403, allocations: 67.89 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.4035, allocations: 24.17 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.404, allocations: 286.9 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4043, allocations: 0.7009 MB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.4044, allocations: 33.36 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.4045, allocations: 15.44 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.4045, allocations: 4 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.006042/0.4105, allocations: 2.55 MB / 1.068 GB, free: 8.402 MB / 0.8262 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