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.001074/0.001074, 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.001202/0.001203, allocations: 200 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 66.95 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3569, allocations: 157.4 MB / 1.053 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002459/0.3594, allocations: 0.6658 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.3624, allocations: 1.771 MB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.3625, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.3626, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.3626, allocations: 7.938 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3636, allocations: 248.7 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3638, allocations: 119.9 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.3639, allocations: 3.984 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.364, allocations: 51.84 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3641, allocations: 63.91 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.3642, allocations: 4 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006117/0.3648, allocations: 291.6 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3649, allocations: 39.89 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.3649, allocations: 43.72 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.3654, allocations: 175.7 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3654, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3654, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3654, allocations: 4 kB / 1.056 GB, free: 4.855 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.00081/0.3662, allocations: 443.6 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3663, allocations: 15.97 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.3664, allocations: 8.844 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3665, allocations: 176.3 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3665, allocations: 8.375 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3666, allocations: 16.12 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.3669, allocations: 214.6 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.367, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.367, allocations: 8 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.367, allocations: 8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.3673, allocations: 171.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.3677, allocations: 285.9 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.3685, allocations: 411.8 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.3687, allocations: 189.1 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003506/0.3691, allocations: 195.1 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3691, allocations: 38.56 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.3691, allocations: 0 / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006917/0.3698, allocations: 393.2 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.3699, allocations: 187.9 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.37, allocations: 93.86 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3701, allocations: 29.7 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.3701, allocations: 88.7 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3702, allocations: 98.55 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.3703, allocations: 57.69 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3705, allocations: 323 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3706, allocations: 91.86 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3708, allocations: 134.6 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.3712, allocations: 266.5 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3712, allocations: 0 / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00047/0.3717, allocations: 293.6 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3717, allocations: 4 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3717, allocations: 4 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3718, allocations: 0 / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.372, allocations: 63.89 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.372, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3721, allocations: 23.78 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3722, allocations: 11.98 kB / 1.06 GB, free: 184 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.000137/0.3723, allocations: 137.8 kB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3723, allocations: 15.75 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.373, allocations: 360.8 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.373, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.373, allocations: 4 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.373, allocations: 0 / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3733, allocations: 257.3 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3733, allocations: 448 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.3736, allocations: 63.89 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.3736, allocations: 8 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3736, allocations: 19.92 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3736, allocations: 0 / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3736, allocations: 4 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.3741, allocations: 349.5 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3742, allocations: 116.9 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3743, allocations: 8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.3744, allocations: 8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3744, allocations: 23.97 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3745, allocations: 11.98 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.3745, allocations: 75.28 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3745, allocations: 4.031 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004905/0.375, allocations: 104 kB / 1.062 GB, free: 14.52 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.0005974/0.3756, allocations: 198.8 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3761, allocations: 255.6 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3761, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3763, allocations: 141 kB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3765, allocations: 19.12 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.3771, allocations: 430.2 kB / 1.063 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3775, allocations: 0.7166 MB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.3776, allocations: 39.41 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.3776, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.005589/0.3832, allocations: 2.874 MB / 1.066 GB, free: 9.793 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/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