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.001281/0.001281, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001309/0.001309, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.51/2.51, allocations: 437.1 MB / 0.711 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002018, allocations: 63.5 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4057, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002386/0.4081, allocations: 0.5994 MB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.411, allocations: 1.718 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.4111, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.4112, allocations: 3.984 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.4113, allocations: 4 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.4125, allocations: 300.6 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.4127, allocations: 131.8 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.4128, allocations: 0 / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.4129, allocations: 55.89 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.413, allocations: 55.92 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.413, allocations: 4 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.4137, allocations: 289.2 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.4137, allocations: 39.89 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.4138, allocations: 55.7 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.4144, allocations: 267.4 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.4144, allocations: 4 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4144, allocations: 7.938 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4144, allocations: 3.938 kB / 1.021 GB, free: 7.156 MB / 0.795 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.0008032/0.4152, allocations: 435.4 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4153, allocations: 8.031 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.4154, allocations: 8.844 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.4155, allocations: 176.2 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.4156, allocations: 12.38 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.4156, allocations: 16.12 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.416, allocations: 215.6 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.416, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.416, allocations: 11.98 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.416, allocations: 8 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.4163, allocations: 175.7 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.4167, allocations: 282 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.4176, allocations: 411.8 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.4178, allocations: 181.1 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.4182, allocations: 199.2 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4183, allocations: 46.48 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.4183, allocations: 0 / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0006959/0.419, allocations: 381.2 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.4191, allocations: 195.9 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.4192, allocations: 89.86 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4192, allocations: 33.7 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.4193, allocations: 80.7 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4194, allocations: 106.5 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.4195, allocations: 61.69 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4196, allocations: 319 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4198, allocations: 95.92 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.42, allocations: 137.1 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.4203, allocations: 262.3 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4203, allocations: 0 / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004535/0.4208, allocations: 297.6 kB / 1.025 GB, free: 2.582 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4208, allocations: 4 kB / 1.025 GB, free: 2.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4208, allocations: 8 kB / 1.025 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4209, allocations: 0 / 1.025 GB, free: 2.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.4211, allocations: 55.91 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4211, allocations: 4 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4213, allocations: 19.83 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.4213, allocations: 8 kB / 1.026 GB, free: 2.484 MB / 0.795 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.0001338/0.4214, allocations: 140.2 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.4215, allocations: 23.73 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.4221, allocations: 352.8 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4221, allocations: 4 kB / 1.026 GB, free: 1.961 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4221, allocations: 7.938 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4222, allocations: 3.984 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4224, allocations: 257.3 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4224, allocations: 4 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.4227, allocations: 51.91 kB / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4227, allocations: 4.375 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4227, allocations: 15.98 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4227, allocations: 8 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4227, allocations: 0 / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.4232, allocations: 349 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4233, allocations: 112.9 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4234, allocations: 8 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.4235, allocations: 8 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4235, allocations: 27.95 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.4236, allocations: 15.98 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.4236, allocations: 75.28 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4236, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004654/0.4241, allocations: 104 kB / 1.027 GB, free: 0.8281 MB / 0.795 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.0006884/0.4248, allocations: 217.5 kB / 1.027 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.4253, allocations: 267.6 kB / 1.027 GB, free: 360 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4253, allocations: 0 / 1.027 GB, free: 360 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.4255, allocations: 140.7 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.4257, allocations: 17.89 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.4264, allocations: 397.6 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4267, allocations: 0.7124 MB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.4268, allocations: 43.41 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of SimCode: time 8.51e-07/0.4268, allocations: 0 / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.006479/0.4333, allocations: 2.87 MB / 1.032 GB, free: 12.11 MB / 0.8106 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