Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001629/0.001629, allocations: 117.5 kB / 16.42 MB, free: 6.492 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.001841/0.001841, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.8859, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001949/0.8879, allocations: 0.5936 MB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.8906, allocations: 1.723 MB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.8907, allocations: 0 / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.8908, allocations: 0 / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.8908, allocations: 0 / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.892, allocations: 309.8 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.8922, allocations: 127.9 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.8923, allocations: 3.984 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.8924, allocations: 47.91 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.8925, allocations: 63.92 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.8925, allocations: 4 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.8932, allocations: 343.5 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.8932, allocations: 39.89 kB / 1.171 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.476e-05/0.8933, allocations: 47.77 kB / 1.171 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.8939, allocations: 271.8 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8939, allocations: 7.984 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of FrontEnd: time 4.629e-06/0.8939, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8939, allocations: 3.938 kB / 1.171 GB, free: 296 kB / 0.8887 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.0007665/0.8947, allocations: 450.8 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.8947, allocations: 8.031 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.8948, allocations: 8.891 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.8949, allocations: 168.3 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.8949, allocations: 8.375 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.895, allocations: 24.05 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.8953, allocations: 214.7 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8954, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.8954, allocations: 8 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8954, allocations: 4 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.8957, allocations: 179.7 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.896, allocations: 286.1 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.8968, allocations: 411.8 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.8971, allocations: 181.1 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.8975, allocations: 195.2 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.8975, allocations: 46.5 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.704e-06/0.8975, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0006918/0.8982, allocations: 386.7 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.8983, allocations: 183.9 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.8984, allocations: 93.86 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.8984, allocations: 37.83 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.8984, allocations: 80.7 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.8985, allocations: 103.1 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.8986, allocations: 53.69 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8987, allocations: 322.8 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.8989, allocations: 95.98 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.8991, allocations: 133.1 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.8994, allocations: 268.9 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8995, allocations: 0 / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004574/0.8999, allocations: 293.2 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9, allocations: 4 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9, allocations: 4 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.9003, allocations: 67.89 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9003, allocations: 3.938 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.9004, allocations: 19.83 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.9004, allocations: 15.98 kB / 1.175 GB, free: 11.6 MB / 0.9044 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.0001127/0.9006, allocations: 133.8 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.9006, allocations: 15.89 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.9012, allocations: 369.1 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9012, allocations: 0 / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9012, allocations: 8 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.9013, allocations: 113 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.9014, allocations: 8 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.9015, allocations: 8 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.9015, allocations: 27.91 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006848/0.9022, allocations: 0.7633 MB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006152/0.9029, allocations: 0.8236 MB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001912/0.9031, allocations: 127.8 kB / 1.177 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.9031, allocations: 83.27 kB / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of Backend: time 7.11e-07/0.9031, allocations: 0 / 1.177 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.9046, allocations: 323.2 kB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005788/0.9052, allocations: 0.65 MB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of Templates: time 0.007396/0.9127, allocations: 3.417 MB / 1.182 GB, free: 4.641 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches