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.007664/0.007664, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001663/0.001663, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.207/2.207, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7839, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005554/0.7895, allocations: 4.587 MB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.7906, allocations: 0.8178 MB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.7907, allocations: 0.8125 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.7909, allocations: 33.5 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.791, allocations: 27.86 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.7916, allocations: 174.8 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.7919, allocations: 177.2 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.792, allocations: 15.23 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.7922, allocations: 89.88 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.7923, allocations: 75.42 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.7924, allocations: 12.91 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.7927, allocations: 154.1 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.7928, allocations: 32.03 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.7929, allocations: 75.53 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.7933, allocations: 236.4 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7933, allocations: 0.6875 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7933, allocations: 0 / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.7933, allocations: 4.625 kB / 1.094 GB, free: 1.156 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.0008191/0.7942, allocations: 476.6 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7942, allocations: 9.469 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.7943, allocations: 15.06 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7944, allocations: 184.4 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.7944, allocations: 16.44 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.7944, allocations: 11.44 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.7948, allocations: 119.8 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7948, allocations: 0 / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7948, allocations: 4.938 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7948, allocations: 1.656 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.7953, allocations: 150.7 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009273/0.7962, allocations: 461.7 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.7965, allocations: 127 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.7967, allocations: 68.47 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.7982, allocations: 0.964 MB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.7983, allocations: 40.36 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.7983, allocations: 0.5312 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0007627/0.799, allocations: 208.4 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.7991, allocations: 56.81 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.7993, allocations: 167.5 kB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.7993, allocations: 30.86 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.7994, allocations: 108.7 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.7994, allocations: 40.28 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.7995, allocations: 49.45 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7996, allocations: 321.6 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.7999, allocations: 78.69 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.8001, allocations: 114.1 kB / 1.098 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.8006, allocations: 172.1 kB / 1.098 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.8006, allocations: 0.5156 kB / 1.098 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005936/0.8012, allocations: 246.4 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8012, allocations: 5.031 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8013, allocations: 2.391 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8013, allocations: 1.312 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.8016, allocations: 59.39 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.8016, allocations: 1.922 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.8018, allocations: 27.64 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.8018, allocations: 19.47 kB / 1.098 GB, free: 13.92 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.0001206/0.8019, allocations: 127.5 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.802, allocations: 16.97 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.8025, allocations: 181.1 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8025, allocations: 0.5938 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8025, allocations: 1.312 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.8025, allocations: 1.406 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.8028, allocations: 210 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8028, allocations: 0.8438 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.803, allocations: 40.06 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.803, allocations: 1.859 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.803, allocations: 1.094 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.803, allocations: 4.656 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.803, allocations: 0.5312 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.8035, allocations: 257.5 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.8036, allocations: 106.7 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.8036, allocations: 1.875 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8037, allocations: 12.14 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.8038, allocations: 12.05 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.8038, allocations: 2.125 kB / 1.099 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.8039, allocations: 120.4 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8039, allocations: 0 / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003598/0.8043, allocations: 55.69 kB / 1.1 GB, free: 13.09 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.000317/0.8046, allocations: 175.7 kB / 1.1 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.8051, allocations: 173.3 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8052, allocations: 0 / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.8054, allocations: 72.19 kB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.8057, allocations: 26.58 kB / 1.1 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.8062, allocations: 244.2 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.8065, allocations: 0.7072 MB / 1.101 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.236e-05/0.8066, allocations: 17.17 kB / 1.101 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.8067, allocations: 21.09 kB / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.8067, allocations: 0 / 1.101 GB, free: 12 MB / 0.8731 GB Notification: Performance of Templates: time 0.007331/0.814, allocations: 2.732 MB / 1.104 GB, free: 11.71 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/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