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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002137/0.002138, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.78 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0019/0.3495, allocations: 0.6541 MB / 1.053 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3521, allocations: 1.786 MB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.3522, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.3522, allocations: 3.938 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.3523, allocations: 0 / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.3531, allocations: 250.7 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3533, allocations: 119.8 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.3534, allocations: 12 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.3534, allocations: 43.97 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3536, allocations: 59.91 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3536, allocations: 11.88 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.3541, allocations: 287.7 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.3541, allocations: 39.95 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.3542, allocations: 43.72 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.3546, allocations: 275.4 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3546, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3546, allocations: 0 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3546, allocations: 0 / 1.056 GB, free: 5.273 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.0008097/0.3554, allocations: 443.6 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3555, allocations: 8.031 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.3556, allocations: 8.844 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3557, allocations: 176.3 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3557, allocations: 12.36 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3557, allocations: 12.12 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3561, allocations: 219.1 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3561, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3561, allocations: 8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3561, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.3564, allocations: 179.8 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3568, allocations: 286 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/0.3576, allocations: 415.8 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3578, allocations: 177.1 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.3582, allocations: 207.1 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.3582, allocations: 34.56 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.3582, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006845/0.3589, allocations: 390.6 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.359, allocations: 187.9 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.3591, allocations: 97.86 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3591, allocations: 29.7 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.3592, allocations: 80.7 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.3593, allocations: 102.5 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.3593, allocations: 53.69 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3594, allocations: 322.8 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3596, allocations: 91.86 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.3598, allocations: 145.2 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.3601, allocations: 265 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3601, allocations: 0 / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004301/0.3606, allocations: 289.3 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3606, allocations: 5.25 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3606, allocations: 8 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3606, allocations: 7.984 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3609, allocations: 51.91 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3609, allocations: 4 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.361, allocations: 15.84 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.361, allocations: 15.98 kB / 1.06 GB, free: 0.5977 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.0001115/0.3611, allocations: 133.8 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3612, allocations: 19.75 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000586/0.3618, allocations: 361.3 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3618, allocations: 4 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3618, allocations: 4.125 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3618, allocations: 0 / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.3621, allocations: 265.3 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3621, allocations: 4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3623, allocations: 51.91 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3623, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.3624, allocations: 11.98 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3624, allocations: 4 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3624, allocations: 4 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.3628, allocations: 345 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.3629, allocations: 120.9 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.363, allocations: 8 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.3631, allocations: 8 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3631, allocations: 23.91 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3632, allocations: 15.98 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.3632, allocations: 75.28 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.443e-06/0.3632, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003905/0.3636, allocations: 99.92 kB / 1.061 GB, free: 14.95 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.000506/0.3641, allocations: 214 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3645, allocations: 248.3 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3645, allocations: 4 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3647, allocations: 143.8 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3649, allocations: 16 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.3655, allocations: 393.3 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.3657, allocations: 0.7127 MB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002324/0.366, allocations: 109.4 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.366, allocations: 27.42 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.366, allocations: 3.938 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.005323/0.3714, allocations: 2.526 MB / 1.066 GB, free: 10.51 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