Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001636/0.001636, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.326/1.326, 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 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 65.2 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2691, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00226/0.2714, allocations: 0.5968 MB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.2743, allocations: 1.723 MB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.2744, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.2744, allocations: 3.938 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.2745, allocations: 0 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2755, allocations: 309.5 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.2758, allocations: 131.8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.2759, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.276, allocations: 51.89 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2761, allocations: 55.94 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2762, allocations: 4 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.2767, allocations: 347.5 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.2768, allocations: 31.92 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.2768, allocations: 51.7 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003779/0.2772, allocations: 275.3 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2772, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2773, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2773, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007302/0.278, allocations: 444.4 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.278, allocations: 8.031 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.2781, allocations: 8.844 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2782, allocations: 176.2 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2783, allocations: 8.375 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2783, allocations: 16.12 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.2787, allocations: 219.6 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2787, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.2787, allocations: 11.94 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2787, allocations: 4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.279, allocations: 179.7 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.2794, allocations: 286 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.2801, allocations: 407.8 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2804, allocations: 189.1 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.2807, allocations: 199.2 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2808, allocations: 46.48 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.2808, allocations: 0 / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006774/0.2815, allocations: 377.2 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.2816, allocations: 187.9 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.2816, allocations: 97.95 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.2817, allocations: 33.73 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.2817, allocations: 84.7 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2818, allocations: 110.4 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.2819, allocations: 57.69 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.282, allocations: 318.8 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2822, allocations: 83.92 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2824, allocations: 146.6 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.2827, allocations: 260.9 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2828, allocations: 0 / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004529/0.2832, allocations: 293.4 kB / 1.034 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2832, allocations: 4 kB / 1.034 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2832, allocations: 4 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.2833, allocations: 4 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2835, allocations: 59.91 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2835, allocations: 4 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.283e-05/0.2836, allocations: 19.75 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.2837, allocations: 11.98 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001183/0.2838, allocations: 137.7 kB / 1.034 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2838, allocations: 23.83 kB / 1.035 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005789/0.2844, allocations: 344.9 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2844, allocations: 8 kB / 1.035 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2844, allocations: 4.562 kB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2845, allocations: 3.984 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2847, allocations: 257.3 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2847, allocations: 4 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2849, allocations: 55.97 kB / 1.035 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2849, allocations: 4 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.285, allocations: 11.98 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.285, allocations: 7.938 kB / 1.035 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.285, allocations: 0 / 1.035 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.2854, allocations: 345 kB / 1.036 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.2856, allocations: 124.8 kB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2856, allocations: 4 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.2857, allocations: 8 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.2857, allocations: 27.97 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2858, allocations: 11.98 kB / 1.036 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.2858, allocations: 75.28 kB / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.342e-06/0.2858, allocations: 0 / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003669/0.2862, allocations: 103.9 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0004662/0.2867, allocations: 213.3 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.2871, allocations: 248.1 kB / 1.036 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2871, allocations: 0 / 1.036 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2873, allocations: 144.7 kB / 1.036 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2875, allocations: 15.94 kB / 1.036 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.288, allocations: 362.7 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.2883, allocations: 0.7162 MB / 1.037 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.2885, allocations: 105.4 kB / 1.038 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.2886, allocations: 31.41 kB / 1.038 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2886, allocations: 0 / 1.038 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of Templates: time 0.005208/0.2938, allocations: 2.542 MB / 1.04 GB, free: 3.711 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches