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.001612/0.00162, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001856/0.001856, 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.366/1.366, allocations: 222.9 MB / 241 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.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006253/1.02, allocations: 4.592 MB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001084/1.022, allocations: 0.8181 MB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/1.022, allocations: 1.188 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/1.022, allocations: 28.34 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/1.022, allocations: 28.22 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/1.023, allocations: 173.1 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/1.023, allocations: 180.7 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/1.023, allocations: 11.06 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/1.023, allocations: 90.42 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/1.023, allocations: 74.98 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/1.023, allocations: 12.81 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/1.024, allocations: 155 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/1.024, allocations: 27.38 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/1.024, allocations: 71.28 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/1.024, allocations: 249.4 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.024, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/1.024, allocations: 0.75 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.024, allocations: 0 / 1.095 GB, free: 1.16 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.0008358/1.025, allocations: 479.8 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.025, allocations: 9.781 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/1.025, allocations: 11.81 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/1.025, allocations: 180.5 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.025, allocations: 16.88 kB / 1.096 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/1.025, allocations: 11.56 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/1.026, allocations: 122.5 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.026, allocations: 0 / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/1.026, allocations: 0.6562 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.026, allocations: 6.219 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/1.026, allocations: 142.4 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/1.027, allocations: 461.2 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/1.028, allocations: 135.7 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/1.028, allocations: 67.83 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.029, allocations: 0.9651 MB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.029, allocations: 36.45 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/1.029, allocations: 0 / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0007629/1.03, allocations: 216.4 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/1.03, allocations: 57.75 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.03, allocations: 166.4 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/1.03, allocations: 26.7 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.031, allocations: 112.7 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.031, allocations: 39.78 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/1.031, allocations: 49.39 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.031, allocations: 322.6 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/1.031, allocations: 79.08 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/1.031, allocations: 103.2 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/1.032, allocations: 177.8 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.032, allocations: 0 / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006345/1.033, allocations: 242.1 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.033, allocations: 9.844 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.033, allocations: 0.7812 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.033, allocations: 2.859 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/1.033, allocations: 54.83 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/1.033, allocations: 1.5 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/1.033, allocations: 32.28 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/1.033, allocations: 11.7 kB / 1.099 GB, free: 13.93 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.0001075/1.033, allocations: 131.6 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/1.033, allocations: 16.88 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/1.034, allocations: 180.2 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.034, allocations: 2.688 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.034, allocations: 4 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.034, allocations: 1.703 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/1.034, allocations: 211.2 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.034, allocations: 0 / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.034, allocations: 32.14 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.034, allocations: 0.9688 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.034, allocations: 5.031 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.034, allocations: 1.234 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.034, allocations: 0.9375 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/1.035, allocations: 265.1 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.035, allocations: 102.6 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/1.035, allocations: 5.094 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/1.035, allocations: 11.84 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.035, allocations: 12.45 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.035, allocations: 3.188 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.285e-05/1.035, allocations: 116 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.035, allocations: 0 / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003917/1.036, allocations: 59.23 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.0003464/1.036, allocations: 166.2 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005267/1.037, allocations: 166.4 kB / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.037, allocations: 0 / 1.101 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/1.037, allocations: 70.53 kB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/1.037, allocations: 29.34 kB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/1.038, allocations: 269.7 kB / 1.101 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/1.038, allocations: 0.704 MB / 1.102 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/1.038, allocations: 25.78 kB / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.038, allocations: 0 / 1.102 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.006115/1.044, allocations: 2.558 MB / 1.104 GB, free: 11.68 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