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.001688/0.001688, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002061/0.002061, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.331/2.331, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.6418, allocations: 140.3 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001976/0.6438, allocations: 0.659 MB / 0.9496 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.6462, allocations: 1.769 MB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.6462, allocations: 1.375 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.6463, allocations: 7.938 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.248e-05/0.6463, allocations: 0 / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.6472, allocations: 245.7 kB / 0.9515 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.6474, allocations: 122.8 kB / 0.9516 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.6474, allocations: 6.734 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.6475, allocations: 52.25 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.6476, allocations: 58.48 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.6477, allocations: 5.156 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.6482, allocations: 295 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.6482, allocations: 36.97 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.6483, allocations: 49 kB / 0.9521 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.6487, allocations: 264.8 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6488, allocations: 1.438 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6488, allocations: 0 / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6488, allocations: 0 / 0.9524 GB, free: 6.652 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.0006488/0.6494, allocations: 453.5 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6495, allocations: 8.406 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.6495, allocations: 10.41 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.868e-05/0.6496, allocations: 171 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6496, allocations: 13.03 kB / 0.953 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.6497, allocations: 11.12 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.65, allocations: 219.3 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.65, allocations: 0 / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.65, allocations: 6.375 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.65, allocations: 3.75 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.6503, allocations: 175 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.6506, allocations: 283 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.6513, allocations: 410.7 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.6515, allocations: 183.2 kB / 0.9542 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.6519, allocations: 201 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.6519, allocations: 41.97 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.6519, allocations: 3.938 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006215/0.6525, allocations: 386.4 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6526, allocations: 191.4 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.306e-05/0.6526, allocations: 93.42 kB / 0.9551 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.6527, allocations: 29.7 kB / 0.9551 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.6527, allocations: 84.83 kB / 0.9552 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.6528, allocations: 105 kB / 0.9553 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.989e-05/0.6528, allocations: 53.94 kB / 0.9554 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.6529, allocations: 325.8 kB / 0.9557 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.653, allocations: 93.77 kB / 0.9558 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6532, allocations: 132.1 kB / 0.9559 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.6535, allocations: 267.6 kB / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6535, allocations: 0 / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004196/0.654, allocations: 288 kB / 0.9564 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.654, allocations: 6.062 kB / 0.9564 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.654, allocations: 5.062 kB / 0.9564 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.654, allocations: 3.094 kB / 0.9564 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.6543, allocations: 58.2 kB / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6543, allocations: 10.34 kB / 0.9565 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-05/0.6544, allocations: 16.59 kB / 0.9565 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.6544, allocations: 16.86 kB / 0.9565 GB, free: 3.242 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.939e-05/0.6545, allocations: 132.9 kB / 0.9567 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.6545, allocations: 10.59 kB / 0.9567 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.6551, allocations: 360.8 kB / 0.957 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6551, allocations: 3.938 kB / 0.957 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6552, allocations: 6.281 kB / 0.957 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.6552, allocations: 2.219 kB / 0.957 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.6554, allocations: 261 kB / 0.9573 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6554, allocations: 1.438 kB / 0.9573 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.6556, allocations: 58.17 kB / 0.9573 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.6556, allocations: 1.906 kB / 0.9573 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.6557, allocations: 13.2 kB / 0.9574 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6557, allocations: 2.75 kB / 0.9574 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6557, allocations: 5 kB / 0.9574 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.6561, allocations: 346.5 kB / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.6562, allocations: 126.3 kB / 0.9578 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.6562, allocations: 3.312 kB / 0.9578 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.6563, allocations: 6.219 kB / 0.9578 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.6564, allocations: 31.81 kB / 0.9579 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.6564, allocations: 15.95 kB / 0.9579 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.68e-05/0.6564, allocations: 80.38 kB / 0.9579 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6564, allocations: 1.25 kB / 0.9579 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004449/0.6569, allocations: 92.48 kB / 0.958 GB, free: 2.141 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.0005132/0.6574, allocations: 223.6 kB / 0.9582 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.6578, allocations: 248.9 kB / 0.9585 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6578, allocations: 0 / 0.9585 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.658, allocations: 141.9 kB / 0.9586 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.6582, allocations: 21.19 kB / 0.9586 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.6588, allocations: 392.2 kB / 0.959 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.6589, allocations: 0.7153 MB / 0.9597 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.6591, allocations: 104.5 kB / 0.9598 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.6592, allocations: 29.33 kB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6592, allocations: 0 / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of Templates: time 0.005617/0.6648, allocations: 2.515 MB / 0.9623 GB, free: 15.49 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