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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001238/0.001238, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.48/1.48, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6991, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007178/0.7063, allocations: 4.613 MB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.7076, allocations: 0.8226 MB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.7077, allocations: 4 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.7079, allocations: 31.83 kB / 1.023 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.7081, allocations: 27.77 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.7087, allocations: 151.5 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.709, allocations: 163.4 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7091, allocations: 13.12 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.7093, allocations: 75.75 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.7095, allocations: 79.66 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.7095, allocations: 8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.7099, allocations: 143.8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.7099, allocations: 27.89 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.71, allocations: 59.66 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.7104, allocations: 161.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7104, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7104, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7104, allocations: 0 / 1.023 GB, free: 12.43 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.001038/0.7115, allocations: 487 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7115, allocations: 11.97 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.7116, allocations: 16.75 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.7118, allocations: 184 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.7118, allocations: 12.38 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.7119, allocations: 12.38 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.7122, allocations: 121.7 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7122, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.7123, allocations: 7.938 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7123, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004182/0.7127, allocations: 148.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.7138, allocations: 460.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.7141, allocations: 130.4 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.7143, allocations: 72.81 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.7157, allocations: 0.9685 MB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.7157, allocations: 30.56 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.7157, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0006519/0.7164, allocations: 213.3 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.7164, allocations: 63.33 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.7166, allocations: 157.7 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.7166, allocations: 29.7 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.7167, allocations: 108.3 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.7167, allocations: 43.36 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/0.7168, allocations: 45.7 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7169, allocations: 322.8 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.7172, allocations: 83.88 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.7174, allocations: 108.9 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.7179, allocations: 177.7 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7179, allocations: 0 / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005457/0.7184, allocations: 237.3 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7185, allocations: 8 kB / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7185, allocations: 0 / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7185, allocations: 3.938 kB / 1.028 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.7188, allocations: 63.89 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.7188, allocations: 0 / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.7189, allocations: 27.73 kB / 1.028 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.719, allocations: 12 kB / 1.028 GB, free: 7.75 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.0001053/0.7191, allocations: 130.4 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.7191, allocations: 11.91 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.7196, allocations: 194.6 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7196, allocations: 0 / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7196, allocations: 0 / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7197, allocations: 4 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.7199, allocations: 213.5 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7199, allocations: 0 / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.7201, allocations: 35.97 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7201, allocations: 0 / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.7201, allocations: 3.938 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7201, allocations: 4 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7201, allocations: 0 / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.7205, allocations: 255.2 kB / 1.029 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.7206, allocations: 100.9 kB / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.7207, allocations: 7.922 kB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7208, allocations: 15.92 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.7209, allocations: 11.98 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7209, allocations: 8 kB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001026/0.721, allocations: 121.6 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.721, allocations: 0 / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003441/0.7213, allocations: 56.38 kB / 1.029 GB, free: 6.504 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.0003318/0.7217, allocations: 159.1 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.7222, allocations: 167.8 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7222, allocations: 0 / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.7224, allocations: 76.72 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.7228, allocations: 17.69 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.7233, allocations: 316.8 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7236, allocations: 0.7048 MB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.7237, allocations: 15.44 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7237, allocations: 3.938 kB / 1.03 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of Templates: time 0.004932/0.7287, allocations: 2.547 MB / 1.033 GB, free: 2.465 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/jenkins1/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