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.001792/0.001792, allocations: 116.9 kB / 16.42 MB, free: 6.441 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.0021/0.0021, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 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.534/2.534, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.11 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.897, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00174/0.8988, allocations: 0.6001 MB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.9012, allocations: 1.723 MB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.9012, allocations: 0 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.9013, allocations: 3.938 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.9013, allocations: 0 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.9023, allocations: 299.4 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.9025, allocations: 131.8 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.9025, allocations: 4 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.9026, allocations: 51.89 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.9027, allocations: 55.94 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.9028, allocations: 8 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.9032, allocations: 340.3 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.9033, allocations: 43.89 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.9034, allocations: 43.72 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.9037, allocations: 275.3 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9037, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9038, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.9038, allocations: 0 / 1.171 GB, free: 260 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.0007263/0.9045, allocations: 449.1 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.9046, allocations: 8.031 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.9046, allocations: 16.75 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.9047, allocations: 172.2 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9048, allocations: 8.375 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.9048, allocations: 20.06 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.9051, allocations: 222.6 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9051, allocations: 4 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.9052, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9052, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.9054, allocations: 179.7 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.9057, allocations: 278.1 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.9065, allocations: 411.8 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.9067, allocations: 185.1 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.9071, allocations: 199.2 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.9071, allocations: 46.5 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.9071, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0006257/0.9078, allocations: 373.2 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/0.9079, allocations: 191.8 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.9079, allocations: 97.86 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.908, allocations: 33.83 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.908, allocations: 80.7 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.9081, allocations: 98.55 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.9082, allocations: 57.69 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9083, allocations: 322.8 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.9084, allocations: 91.92 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.9086, allocations: 138.6 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.9089, allocations: 253 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.9089, allocations: 0 / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004098/0.9094, allocations: 301.3 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.9094, allocations: 10.44 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.9094, allocations: 4 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9094, allocations: 4 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.9097, allocations: 59.95 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9097, allocations: 7.938 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.9098, allocations: 15.84 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.9098, allocations: 11.98 kB / 1.175 GB, free: 11.57 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.0001146/0.9099, allocations: 140 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.91, allocations: 15.84 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.9105, allocations: 364.7 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.9105, allocations: 8 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9106, allocations: 0.5625 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9107, allocations: 120.9 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.9107, allocations: 4 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.9108, allocations: 4 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.9109, allocations: 35.84 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006123/0.9115, allocations: 0.7588 MB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005629/0.912, allocations: 0.8235 MB / 1.177 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001748/0.9122, allocations: 132.3 kB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.9123, allocations: 79.22 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of Backend: time 8.42e-07/0.9123, allocations: 0 / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9136, allocations: 323.3 kB / 1.178 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005516/0.9142, allocations: 0.6581 MB / 1.178 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of Templates: time 0.00661/0.9208, allocations: 3.42 MB / 1.182 GB, free: 4.594 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