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.006216/0.006216, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001372/0.001373, allocations: 193.1 kB / 16.67 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.361/1.361, allocations: 222.9 MB / 240.4 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.236/2.236, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 72.05 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.764, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005403/0.7695, allocations: 4.584 MB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.7705, allocations: 0.8134 MB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.7706, allocations: 5.406 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.7707, allocations: 37.48 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.7708, allocations: 27.98 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.7714, allocations: 175.3 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.7716, allocations: 176 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.7717, allocations: 15.98 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.7719, allocations: 84.91 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.772, allocations: 75.55 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.772, allocations: 13.53 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.7724, allocations: 153.6 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.7724, allocations: 36.45 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.62e-05/0.7725, allocations: 67.55 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.7729, allocations: 243 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7729, allocations: 0 / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7729, allocations: 0.6562 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.7729, allocations: 0 / 1.094 GB, free: 1.164 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.0008753/0.7738, allocations: 484.2 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.7739, allocations: 10.06 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.7739, allocations: 15.12 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.774, allocations: 187.4 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7741, allocations: 11.66 kB / 1.095 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.7741, allocations: 12.06 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.7745, allocations: 114.1 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.7745, allocations: 4.562 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.7745, allocations: 4.656 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.7745, allocations: 5.844 kB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.775, allocations: 142.9 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.776, allocations: 465.5 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.7764, allocations: 123.7 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.7766, allocations: 75.39 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/0.7781, allocations: 0.9722 MB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.7782, allocations: 36.77 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.7782, allocations: 0 / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.000744/0.7789, allocations: 209 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.779, allocations: 52.66 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.7792, allocations: 167.2 kB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.7792, allocations: 30.77 kB / 1.097 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.7793, allocations: 109.7 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.7793, allocations: 47.73 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.7794, allocations: 49.33 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7795, allocations: 325.1 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.7798, allocations: 71.72 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.7801, allocations: 118.7 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.7805, allocations: 171.3 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7806, allocations: 4.625 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006352/0.7812, allocations: 245 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7812, allocations: 5.859 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7812, allocations: 1.031 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7813, allocations: 2.344 kB / 1.098 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.7816, allocations: 63.16 kB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7816, allocations: 6.016 kB / 1.098 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.7817, allocations: 32.78 kB / 1.098 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.7818, allocations: 6.188 kB / 1.098 GB, free: 13.91 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.0001031/0.7819, allocations: 124 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.7819, allocations: 17.67 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/0.7825, allocations: 175.8 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7825, allocations: 2.812 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7825, allocations: 0 / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7825, allocations: 1.531 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.7828, allocations: 214.9 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7828, allocations: 0 / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.7829, allocations: 36.02 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.783, allocations: 5.719 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.783, allocations: 5.062 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.783, allocations: 1.797 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.783, allocations: 0 / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.7835, allocations: 261.6 kB / 1.099 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.7835, allocations: 102 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.7836, allocations: 5.984 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.7837, allocations: 11.98 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.7838, allocations: 12.12 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.7838, allocations: 2.188 kB / 1.099 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.7839, allocations: 116.9 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7839, allocations: 0 / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003483/0.7842, allocations: 59.03 kB / 1.1 GB, free: 13.08 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.0002913/0.7845, allocations: 160.3 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.7851, allocations: 175 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7851, allocations: 0.9375 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.7853, allocations: 66.83 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.7857, allocations: 24.33 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.0004602/0.7861, allocations: 253.1 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.7864, allocations: 0.7037 MB / 1.101 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.55e-05/0.7865, allocations: 24.03 kB / 1.101 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.7866, allocations: 17.09 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.7866, allocations: 0 / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.006776/0.7933, allocations: 2.739 MB / 1.104 GB, free: 11.7 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