Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00162/0.00162, allocations: 108 kB / 15.6 MB, free: 132 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.002033/0.002033, allocations: 194 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6646 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7239, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001888/0.7258, allocations: 0.5851 MB / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.7279, allocations: 1.718 MB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.7279, allocations: 1.125 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.728, allocations: 3.938 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.728, allocations: 0 / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.7288, allocations: 307.1 kB / 0.9521 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.729, allocations: 127.6 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.7291, allocations: 9.984 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.7291, allocations: 48.83 kB / 0.9523 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.7292, allocations: 62.2 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.7293, allocations: 5.906 kB / 0.9524 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.7297, allocations: 290.8 kB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.7298, allocations: 36.16 kB / 0.9527 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.7298, allocations: 49.36 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.7302, allocations: 265.9 kB / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7302, allocations: 0 / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7302, allocations: 1.188 kB / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7302, allocations: 4 kB / 0.953 GB, free: 6.598 MB / 0.7169 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.0005873/0.7308, allocations: 450.4 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7309, allocations: 9.438 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.7309, allocations: 10.38 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.731, allocations: 170.7 kB / 0.9536 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.731, allocations: 16.69 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.7311, allocations: 16.41 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.7314, allocations: 215.7 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7314, allocations: 0 / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.7314, allocations: 5.469 kB / 0.9538 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7314, allocations: 3.938 kB / 0.9538 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.7317, allocations: 182 kB / 0.954 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.7319, allocations: 291.9 kB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.7326, allocations: 405.8 kB / 0.9547 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.7328, allocations: 179.3 kB / 0.9549 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.7331, allocations: 201.8 kB / 0.9551 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7331, allocations: 41.81 kB / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.7332, allocations: 0 / 0.9551 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006475/0.7338, allocations: 381.7 kB / 0.9555 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.7339, allocations: 192.4 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.7339, allocations: 98.97 kB / 0.9557 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7339, allocations: 31.8 kB / 0.9558 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.734, allocations: 80.7 kB / 0.9558 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.734, allocations: 99.11 kB / 0.9559 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.7341, allocations: 55.78 kB / 0.956 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.7342, allocations: 323.5 kB / 0.9563 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.7343, allocations: 88.98 kB / 0.9564 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.7344, allocations: 144.3 kB / 0.9565 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.7348, allocations: 262.7 kB / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7348, allocations: 0 / 0.9568 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003896/0.7352, allocations: 293 kB / 0.957 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7352, allocations: 5.5 kB / 0.9571 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7352, allocations: 5.375 kB / 0.9571 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7352, allocations: 2.75 kB / 0.9571 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.7354, allocations: 58.52 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.7354, allocations: 2.75 kB / 0.9571 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.7355, allocations: 15.97 kB / 0.9571 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.7356, allocations: 12.25 kB / 0.9571 GB, free: 3.191 MB / 0.7169 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 8.452e-05/0.7357, allocations: 142.1 kB / 0.9573 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.7357, allocations: 13.39 kB / 0.9573 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.7362, allocations: 365.1 kB / 0.9576 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7363, allocations: 12.64 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7363, allocations: 2.219 kB / 0.9577 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.7363, allocations: 5.125 kB / 0.9577 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.7365, allocations: 257.8 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7365, allocations: 1.344 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.7367, allocations: 53.23 kB / 0.958 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7367, allocations: 2.938 kB / 0.958 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.7368, allocations: 8.75 kB / 0.958 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7368, allocations: 10.19 kB / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7368, allocations: 6.203 kB / 0.958 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.7372, allocations: 340.5 kB / 0.9583 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.7373, allocations: 118.7 kB / 0.9584 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.7373, allocations: 7.219 kB / 0.9584 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.7374, allocations: 14.36 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.7375, allocations: 23.34 kB / 0.9585 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.7375, allocations: 12.69 kB / 0.9585 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.7375, allocations: 84.27 kB / 0.9586 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7375, allocations: 0 / 0.9586 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004508/0.738, allocations: 89.97 kB / 0.9586 GB, free: 2.082 MB / 0.7169 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.0004854/0.7385, allocations: 216.7 kB / 0.9589 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.7389, allocations: 271.7 kB / 0.9591 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7389, allocations: 0 / 0.9591 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.7391, allocations: 141.4 kB / 0.9592 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.7393, allocations: 13.38 kB / 0.9593 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.7398, allocations: 358.5 kB / 0.9596 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.74, allocations: 0.7149 MB / 0.9603 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.7402, allocations: 108.7 kB / 0.9604 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.7402, allocations: 29.33 kB / 0.9604 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of SimCode: time 1.223e-06/0.7402, allocations: 0 / 0.9604 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of Templates: time 0.005423/0.7457, allocations: 2.558 MB / 0.9629 GB, free: 15.43 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches