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.0009675/0.0009676, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006503/0.006503, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.82/2.82, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 15.38 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0007553/0.3736, allocations: 326.8 kB / 1.059 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3761, allocations: 1.771 MB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.3761, allocations: 4 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.3762, allocations: 0 / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.3762, allocations: 0 / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.377, allocations: 249.7 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3772, allocations: 123.8 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.3772, allocations: 4 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.3773, allocations: 51.89 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3774, allocations: 59.92 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3775, allocations: 8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.378, allocations: 287.6 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.378, allocations: 43.89 kB / 1.062 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.3781, allocations: 69.42 kB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.3785, allocations: 267.5 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3785, allocations: 3.938 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.416e-06/0.3785, allocations: 0 / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3785, allocations: 7.938 kB / 1.062 GB, free: 2.23 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.000674/0.3792, allocations: 419.6 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3793, allocations: 8.031 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.3793, allocations: 12.83 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.3794, allocations: 168.3 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3794, allocations: 12.31 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3795, allocations: 16.12 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.3798, allocations: 215.2 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3798, allocations: 3.984 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3799, allocations: 8 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3799, allocations: 7.938 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.3801, allocations: 175.8 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3804, allocations: 278.1 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.3811, allocations: 411.8 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.3814, allocations: 185.1 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.3817, allocations: 207.1 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3818, allocations: 42.48 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.363e-06/0.3818, allocations: 0 / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006482/0.3825, allocations: 381.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.3825, allocations: 183.9 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.3826, allocations: 101.9 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3827, allocations: 29.7 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.3827, allocations: 80.7 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.3828, allocations: 106.5 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3828, allocations: 25.72 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.383, allocations: 322.8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3831, allocations: 87.92 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3833, allocations: 145.1 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3836, allocations: 258.5 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3836, allocations: 7.938 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004193/0.384, allocations: 281.6 kB / 1.066 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3841, allocations: 8 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3841, allocations: 4 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3841, allocations: 8 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.3843, allocations: 59.89 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3843, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.3844, allocations: 15.84 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3845, allocations: 11.98 kB / 1.066 GB, free: 13.61 MB / 0.8262 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.0001185/0.3846, allocations: 141.8 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3846, allocations: 19.75 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.3852, allocations: 364.8 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3852, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.3852, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3852, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3855, allocations: 253.3 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3855, allocations: 3.984 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.3857, allocations: 59.91 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3857, allocations: 384 / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3858, allocations: 11.98 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3858, allocations: 8 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3858, allocations: 4 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.3862, allocations: 341 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3863, allocations: 120.9 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3864, allocations: 8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.3864, allocations: 8 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3865, allocations: 23.97 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3865, allocations: 11.98 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.3866, allocations: 83.28 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3866, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000404/0.387, allocations: 91.98 kB / 1.067 GB, free: 11.96 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.0005155/0.3875, allocations: 222.6 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.3879, allocations: 247.6 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3879, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3881, allocations: 140.7 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.3883, allocations: 15.98 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.3889, allocations: 397.6 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3891, allocations: 0.7127 MB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.3894, allocations: 109.4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3894, allocations: 31.42 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3894, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.005693/0.3951, allocations: 2.486 MB / 1.072 GB, free: 7.559 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