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.00142/0.00142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001685/0.001685, allocations: 194.1 kB / 16.25 MB, free: 6.629 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.489/2.489, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.755, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001803/0.7568, allocations: 0.6617 MB / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.759, allocations: 1.718 MB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.759, allocations: 0 / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/0.7591, allocations: 5.938 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.7591, allocations: 4 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.7599, allocations: 268.1 kB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.7601, allocations: 130.6 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.7601, allocations: 2.812 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.7602, allocations: 48.62 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.7603, allocations: 61.33 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.7604, allocations: 5.5 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.7608, allocations: 291.4 kB / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.7609, allocations: 40.11 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.7609, allocations: 45.34 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.7612, allocations: 274 kB / 0.9525 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7612, allocations: 7.938 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7612, allocations: 1.688 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7613, allocations: 0 / 0.9526 GB, free: 6.676 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.0006016/0.7619, allocations: 446.3 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7619, allocations: 10.03 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.762, allocations: 9.062 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.762, allocations: 175.1 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7621, allocations: 17.34 kB / 0.9532 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.7621, allocations: 11.41 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.7624, allocations: 210.9 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7624, allocations: 0 / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7625, allocations: 6.344 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.7625, allocations: 7.656 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.7627, allocations: 178.6 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.763, allocations: 279.9 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.7637, allocations: 410.2 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.7639, allocations: 187.4 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.7642, allocations: 196.4 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.7642, allocations: 41.89 kB / 0.9546 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.7642, allocations: 3.938 kB / 0.9546 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006031/0.7648, allocations: 386.4 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7649, allocations: 195.7 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.7649, allocations: 89.86 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.765, allocations: 33.45 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.765, allocations: 80.7 kB / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.7651, allocations: 97.58 kB / 0.9555 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.7651, allocations: 55.78 kB / 0.9555 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.7652, allocations: 326.5 kB / 0.9559 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.7654, allocations: 89.11 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.7655, allocations: 140.5 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.7659, allocations: 259.9 kB / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7659, allocations: 0 / 0.9563 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003883/0.7663, allocations: 290 kB / 0.9566 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7663, allocations: 9.484 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7663, allocations: 5.438 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.7663, allocations: 2.75 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.7665, allocations: 53.16 kB / 0.9567 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.7666, allocations: 10.67 kB / 0.9567 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.7667, allocations: 21.28 kB / 0.9567 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.7667, allocations: 12.23 kB / 0.9567 GB, free: 3.273 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.32e-05/0.7668, allocations: 136.8 kB / 0.9568 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.7668, allocations: 14.78 kB / 0.9569 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.7674, allocations: 368 kB / 0.9572 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.7674, allocations: 4.969 kB / 0.9572 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7674, allocations: 1.406 kB / 0.9572 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7674, allocations: 6.172 kB / 0.9572 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.7676, allocations: 256.8 kB / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7676, allocations: 1.438 kB / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7678, allocations: 54.25 kB / 0.9575 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7679, allocations: 6.219 kB / 0.9575 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7679, allocations: 13.8 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.7679, allocations: 2.438 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7679, allocations: 9.5 kB / 0.9575 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.7683, allocations: 341.9 kB / 0.9579 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.7684, allocations: 119.6 kB / 0.958 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.7684, allocations: 7.25 kB / 0.958 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.7685, allocations: 6.219 kB / 0.958 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.7686, allocations: 26.47 kB / 0.958 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.7686, allocations: 17.42 kB / 0.958 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.7686, allocations: 80.19 kB / 0.9581 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7687, allocations: 96 / 0.9581 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004146/0.7691, allocations: 97.77 kB / 0.9582 GB, free: 2.164 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.0004924/0.7696, allocations: 209.7 kB / 0.9584 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.77, allocations: 267.6 kB / 0.9587 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.77, allocations: 0.8125 kB / 0.9587 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.7702, allocations: 150 kB / 0.9588 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.7703, allocations: 13.53 kB / 0.9588 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.7708, allocations: 397.9 kB / 0.9592 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.7709, allocations: 0.7133 MB / 0.9599 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.7712, allocations: 113.9 kB / 0.96 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.7712, allocations: 29.3 kB / 0.96 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7712, allocations: 0 / 0.96 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of Templates: time 0.004741/0.776, allocations: 2.553 MB / 0.9625 GB, free: 15.47 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