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.001501/0.001502, allocations: 106.1 kB / 16.41 MB, free: 6.457 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.001505/0.001505, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.646/1.646, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006355/1.02, allocations: 4.582 MB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00108/1.021, allocations: 0.822 MB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/1.021, allocations: 0.9375 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/1.021, allocations: 29.7 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/1.021, allocations: 36 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/1.022, allocations: 171 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/1.022, allocations: 180.2 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/1.022, allocations: 15.75 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/1.022, allocations: 85.8 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/1.022, allocations: 70.92 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/1.022, allocations: 13.44 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/1.023, allocations: 161.9 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/1.023, allocations: 27.59 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/1.023, allocations: 71.73 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004255/1.023, allocations: 245.4 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.023, allocations: 0 / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.512e-06/1.023, allocations: 0.7188 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.023, allocations: 0 / 1.095 GB, free: 1.414 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.0008572/1.024, allocations: 480.1 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.024, allocations: 9.188 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/1.024, allocations: 11.44 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/1.025, allocations: 180.9 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/1.025, allocations: 12.75 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/1.025, allocations: 7.375 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/1.025, allocations: 130.1 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.025, allocations: 0 / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.025, allocations: 8.766 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.025, allocations: 1.531 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/1.025, allocations: 138.7 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.027, allocations: 469.8 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/1.027, allocations: 131.6 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/1.027, allocations: 71.45 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.029, allocations: 0.9567 MB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.029, allocations: 39.94 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.029, allocations: 4.5 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.000765/1.029, allocations: 208.9 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.029, allocations: 53.64 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.03, allocations: 166.5 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/1.03, allocations: 34.77 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/1.03, allocations: 108.6 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/1.03, allocations: 43.77 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/1.03, allocations: 49.38 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.03, allocations: 322.3 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/1.03, allocations: 78.94 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/1.031, allocations: 110.5 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/1.031, allocations: 180.3 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.031, allocations: 0 / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006502/1.032, allocations: 242.5 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.032, allocations: 5.281 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.032, allocations: 1.469 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.032, allocations: 5.812 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/1.032, allocations: 54.41 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.032, allocations: 3.734 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/1.032, allocations: 30.83 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/1.032, allocations: 6.984 kB / 1.099 GB, free: 14.18 MB / 0.8731 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.0001112/1.032, allocations: 123.8 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/1.033, allocations: 22.34 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/1.033, allocations: 179.5 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.033, allocations: 2.516 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.033, allocations: 0.75 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.033, allocations: 0.5625 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/1.033, allocations: 210.6 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/1.033, allocations: 0.5156 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/1.034, allocations: 40.33 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.034, allocations: 1.125 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.034, allocations: 5.703 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.034, allocations: 1.125 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.034, allocations: 0 / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/1.034, allocations: 258.1 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/1.034, allocations: 102.7 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.034, allocations: 1.281 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.034, allocations: 15.86 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/1.034, allocations: 12.53 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.034, allocations: 5.844 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001012/1.035, allocations: 112.7 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004168/1.035, allocations: 59 kB / 1.1 GB, free: 13.35 MB / 0.8731 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.0003626/1.035, allocations: 169.9 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005517/1.036, allocations: 170.1 kB / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.036, allocations: 0 / 1.101 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.036, allocations: 67.78 kB / 1.101 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/1.037, allocations: 31.92 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/1.037, allocations: 280.2 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.037, allocations: 0.7021 MB / 1.102 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/1.038, allocations: 22.23 kB / 1.102 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.038, allocations: 0 / 1.102 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.006324/1.044, allocations: 2.549 MB / 1.104 GB, free: 11.94 MB / 0.8731 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/jenkins1/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