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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001587/0.001587, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.09 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5834, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005705/0.5892, allocations: 4.612 MB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.5903, allocations: 0.8148 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.5904, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.5906, allocations: 19.84 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.5906, allocations: 27.77 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.5911, allocations: 159.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.5913, allocations: 175.4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.5914, allocations: 17.09 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.5916, allocations: 83.75 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.5917, allocations: 79.67 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.5918, allocations: 16 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.5921, allocations: 163.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.5921, allocations: 27.91 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.5922, allocations: 67.66 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.5925, allocations: 237.4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5925, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5925, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5926, allocations: 0 / 1.023 GB, free: 12.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.0008178/0.5934, allocations: 480.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.5934, allocations: 12.03 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.5935, allocations: 16.75 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.5936, allocations: 188 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5936, allocations: 8.375 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.5937, allocations: 16.31 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.594, allocations: 124.1 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.594, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.594, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.594, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.5944, allocations: 143.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.5954, allocations: 464.5 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.5957, allocations: 130.5 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.5959, allocations: 68.81 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.5973, allocations: 0.9687 MB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.5973, allocations: 34.56 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/0.5974, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006598/0.598, allocations: 221.1 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5981, allocations: 51.41 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5982, allocations: 165.2 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5982, allocations: 25.7 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.5983, allocations: 112.3 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.5984, allocations: 43.36 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.5984, allocations: 45.7 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5985, allocations: 322.8 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5988, allocations: 79.88 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.599, allocations: 108.9 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.5995, allocations: 186.3 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5995, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005454/0.6, allocations: 233.3 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6, allocations: 8 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6001, allocations: 4.094 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6001, allocations: 3.938 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6004, allocations: 59.89 kB / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6004, allocations: 0 / 1.027 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6006, allocations: 35.67 kB / 1.027 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.6006, allocations: 8 kB / 1.027 GB, free: 7.676 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.6007, allocations: 130.3 kB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.6007, allocations: 11.91 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.6012, allocations: 186.7 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6012, allocations: 0 / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6012, allocations: 0 / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6013, allocations: 0 / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.6015, allocations: 213.5 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6015, allocations: 4 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.6017, allocations: 35.97 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.6017, allocations: 3.984 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.6017, allocations: 7.938 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6017, allocations: 4 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6017, allocations: 0 / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.6021, allocations: 255.2 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.6022, allocations: 96.94 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.6022, allocations: 11.92 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6024, allocations: 11.98 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.6024, allocations: 11.98 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6025, allocations: 4 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.6025, allocations: 117.6 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.303e-06/0.6026, allocations: 4 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003325/0.6029, allocations: 60.06 kB / 1.028 GB, free: 6.434 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 (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.0002838/0.6032, allocations: 159.1 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.6037, allocations: 179.8 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6037, allocations: 0 / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.6039, allocations: 63.89 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.6043, allocations: 32.11 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.6048, allocations: 285.1 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.605, allocations: 0.7083 MB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.6051, allocations: 21.89 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.6052, allocations: 15.44 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6052, allocations: 0 / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of Templates: time 0.005424/0.6106, allocations: 2.628 MB / 1.032 GB, free: 2.324 MB / 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