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.001537/0.001537, allocations: 107.5 kB / 16.37 MB, free: 6.477 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.001674/0.001674, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.52 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001988/0.3354, allocations: 0.5918 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3378, allocations: 1.727 MB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.3378, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.3379, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.3379, allocations: 7.875 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.3388, allocations: 302.8 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.339, allocations: 127.9 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.3391, allocations: 7.922 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.3392, allocations: 51.91 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3393, allocations: 63.86 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3393, allocations: 4 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.3398, allocations: 344.4 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.3399, allocations: 39.89 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.3399, allocations: 43.78 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.3403, allocations: 271.3 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3403, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3403, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3403, allocations: 0 / 1.03 GB, free: 14.48 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.0006767/0.341, allocations: 447.3 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3411, allocations: 8.031 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3411, allocations: 8.844 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3412, allocations: 172.3 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3413, allocations: 8.375 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3413, allocations: 16.12 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3416, allocations: 223.6 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3417, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3417, allocations: 11.98 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3417, allocations: 4 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.342, allocations: 171.8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.3423, allocations: 289.9 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.343, allocations: 407.8 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3433, allocations: 189 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.3436, allocations: 191.2 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3437, allocations: 42.56 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.3437, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006477/0.3443, allocations: 390.4 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.3444, allocations: 187.9 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.3445, allocations: 97.86 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3445, allocations: 29.7 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.3446, allocations: 80.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.41e-05/0.3447, allocations: 106.4 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.3447, allocations: 61.69 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3449, allocations: 322.8 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.345, allocations: 83.92 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3452, allocations: 141.2 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3455, allocations: 257.3 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3455, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004284/0.346, allocations: 289.2 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.346, allocations: 4 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.346, allocations: 7.938 kB / 1.034 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.346, allocations: 4 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3463, allocations: 63.89 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3463, allocations: 4 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.3464, allocations: 20.12 kB / 1.034 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3464, allocations: 11.98 kB / 1.034 GB, free: 9.801 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.0001077/0.3465, allocations: 137.7 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.3466, allocations: 11.84 kB / 1.035 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.3471, allocations: 368.8 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3471, allocations: 4 kB / 1.035 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3472, allocations: 4 kB / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3472, allocations: 0 / 1.035 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3474, allocations: 253.4 kB / 1.035 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3474, allocations: 4 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3476, allocations: 59.89 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3477, allocations: 4 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3477, allocations: 15.92 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3477, allocations: 7.984 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3477, allocations: 0 / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3481, allocations: 353.3 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.3483, allocations: 116.9 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3483, allocations: 7.984 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.3484, allocations: 12 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3484, allocations: 23.97 kB / 1.036 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3485, allocations: 15.92 kB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.3485, allocations: 75.28 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 0 / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003918/0.3489, allocations: 95.94 kB / 1.036 GB, free: 8.145 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.0004907/0.3494, allocations: 201.6 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.3498, allocations: 255.6 kB / 1.036 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3498, allocations: 0 / 1.036 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.35, allocations: 147.7 kB / 1.036 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.3502, allocations: 12 kB / 1.036 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3508, allocations: 360.1 kB / 1.037 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3511, allocations: 0.7201 MB / 1.038 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000218/0.3513, allocations: 109.4 kB / 1.038 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.3514, allocations: 27.42 kB / 1.038 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3514, allocations: 0 / 1.038 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of Templates: time 0.005497/0.3569, allocations: 2.543 MB / 1.04 GB, free: 3.719 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 cvode -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