Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007785/0.007786, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001619/0.001619, allocations: 189.5 kB / 16.67 MB, free: 5.883 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.67 kB / 0.9509 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2932, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005803/0.299, allocations: 4.576 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.3001, allocations: 0.8186 MB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.3002, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3004, allocations: 31.77 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.3004, allocations: 31.7 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.3009, allocations: 167.3 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3011, allocations: 183.4 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.3013, allocations: 9.125 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3014, allocations: 83.69 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3016, allocations: 83.72 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3016, allocations: 12 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.3019, allocations: 147.8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.3019, allocations: 35.89 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.302, allocations: 67.66 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.3024, allocations: 251.2 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3024, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3024, allocations: 3.938 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3024, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 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.0009087/0.3033, allocations: 478.9 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3034, allocations: 12.03 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.3034, allocations: 8.844 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3036, allocations: 181.2 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3036, allocations: 12.12 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3037, allocations: 12 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.304, allocations: 121.5 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.304, allocations: 8 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3041, allocations: 3.984 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3041, allocations: 0 / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.3045, allocations: 139.9 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.3055, allocations: 460.5 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.3058, allocations: 130.4 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.306, allocations: 73.06 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.3074, allocations: 0.9684 MB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3075, allocations: 34.5 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.3075, allocations: 0 / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006907/0.3082, allocations: 213.4 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3082, allocations: 59.28 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3084, allocations: 163.2 kB / 1.097 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3084, allocations: 29.7 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3085, allocations: 112.4 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3085, allocations: 39.45 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3086, allocations: 53.64 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3087, allocations: 322.8 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.309, allocations: 75.94 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3092, allocations: 109.3 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.3096, allocations: 170.8 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3097, allocations: 0 / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005619/0.3102, allocations: 249.2 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3103, allocations: 4 kB / 1.098 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3103, allocations: 4 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3103, allocations: 0 / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3106, allocations: 51.91 kB / 1.098 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3106, allocations: 12.09 kB / 1.098 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3107, allocations: 39.66 kB / 1.098 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3108, allocations: 8 kB / 1.098 GB, free: 6.273 MB / 0.8575 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.221e-05/0.3109, allocations: 121.8 kB / 1.099 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3109, allocations: 19.75 kB / 1.099 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.3114, allocations: 178.9 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3114, allocations: 4 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3114, allocations: 3.938 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3114, allocations: 0 / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.3116, allocations: 213.5 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3117, allocations: 0 / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3118, allocations: 35.91 kB / 1.099 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3118, allocations: 0 / 1.099 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3118, allocations: 4 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3119, allocations: 4 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3119, allocations: 0 / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.3123, allocations: 259.8 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.3124, allocations: 100.9 kB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3124, allocations: 4 kB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3126, allocations: 15.98 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3126, allocations: 11.98 kB / 1.099 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.3126, allocations: 4 kB / 1.099 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.3127, allocations: 116.9 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 0 / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003523/0.3131, allocations: 64.05 kB / 1.1 GB, free: 5.039 MB / 0.8575 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.0002855/0.3134, allocations: 157.3 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.3139, allocations: 172 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3139, allocations: 0 / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.3141, allocations: 75.94 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3145, allocations: 27.81 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.315, allocations: 249.2 kB / 1.1 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3153, allocations: 0.7045 MB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.38e-05/0.3154, allocations: 19.7 kB / 1.101 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3154, allocations: 19.44 kB / 1.101 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3154, allocations: 0 / 1.101 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of Templates: time 0.006086/0.3215, allocations: 2.745 MB / 1.104 GB, free: 0.8477 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches