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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001326/0.001326, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001505/0.001505, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.734/2.734, allocations: 461.8 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.5 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3376, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002215/0.3399, allocations: 0.6619 MB / 1.053 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3428, allocations: 1.735 MB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.3429, allocations: 0 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.343, allocations: 7.938 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.343, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3442, allocations: 278.8 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3444, allocations: 123.9 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.3445, allocations: 7.984 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3446, allocations: 51.84 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.3447, allocations: 59.92 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3448, allocations: 4 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.3453, allocations: 291.6 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.3454, allocations: 35.91 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.3455, allocations: 43.72 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.346, allocations: 283.3 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.346, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/0.346, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3461, allocations: 0 / 1.056 GB, free: 5.145 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.0008134/0.3469, allocations: 443.3 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3469, allocations: 12.03 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.347, allocations: 8.844 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3471, allocations: 176.3 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3471, allocations: 8.375 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.3472, allocations: 24.05 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.3475, allocations: 219.1 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3475, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3476, allocations: 8 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3476, allocations: 4 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3479, allocations: 175.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.3482, allocations: 274 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.3489, allocations: 419.8 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.3492, allocations: 193.1 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.3496, allocations: 195.2 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3496, allocations: 38.56 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.3496, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.00067/0.3503, allocations: 389.2 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.3504, allocations: 187.9 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.3504, allocations: 93.86 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3505, allocations: 33.7 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.3505, allocations: 80.7 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/0.3506, allocations: 98.5 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.3507, allocations: 57.62 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3508, allocations: 327 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.351, allocations: 87.92 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3511, allocations: 133.1 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3515, allocations: 270.5 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3515, allocations: 4 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000429/0.3519, allocations: 289.5 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.352, allocations: 5.719 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.352, allocations: 0 / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.352, allocations: 4 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3522, allocations: 63.89 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3522, allocations: 0 / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3524, allocations: 15.84 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3524, allocations: 15.92 kB / 1.06 GB, free: 480 kB / 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.0001105/0.3525, allocations: 135.4 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.3526, allocations: 23.75 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.3532, allocations: 356.8 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3532, allocations: 4 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3532, allocations: 3.984 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.3532, allocations: 4 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3534, allocations: 253.8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3535, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.3537, allocations: 67.89 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.3537, allocations: 4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3537, allocations: 19.92 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3537, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3537, allocations: 7.938 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.3542, allocations: 341 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.3543, allocations: 116.9 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3544, allocations: 8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3545, allocations: 8 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3545, allocations: 23.91 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.3545, allocations: 15.98 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.3546, allocations: 75.28 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3546, allocations: 4.094 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004519/0.355, allocations: 95.92 kB / 1.061 GB, free: 14.82 MB / 0.8262 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.0005587/0.3556, allocations: 210.8 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004447/0.3561, allocations: 268.3 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3561, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.3563, allocations: 148.4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3565, allocations: 13.89 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.3571, allocations: 403.4 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3574, allocations: 0.7124 MB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.3576, allocations: 109.4 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.3577, allocations: 31.41 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3577, allocations: 0 / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.005776/0.3635, allocations: 2.553 MB / 1.066 GB, free: 10.32 MB / 0.8262 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 -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/jenkins/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