Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 172.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.786/1.786, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 103.4 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.899e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.44, allocations: 152.5 MB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.44, allocations: 80.08 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0451/1.485, allocations: 15.02 MB / 1.382 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.485, allocations: 0 / 1.382 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.485, allocations: 0 / 1.382 GB, free: 4.809 MB / 0.8386 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.0008716/1.486, allocations: 436.4 kB / 1.383 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.486, allocations: 8.031 kB / 1.383 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/1.486, allocations: 11.91 kB / 1.383 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.486, allocations: 170.9 kB / 1.383 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/1.486, allocations: 7.25 kB / 1.383 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/1.486, allocations: 14.92 kB / 1.383 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/1.487, allocations: 219.8 kB / 1.383 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.487, allocations: 0 / 1.383 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.487, allocations: 7.5 kB / 1.383 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.487, allocations: 0 / 1.383 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/1.487, allocations: 176.6 kB / 1.383 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/1.487, allocations: 293.3 kB / 1.384 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/1.488, allocations: 401.9 kB / 1.384 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/1.489, allocations: 179.1 kB / 1.384 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/1.489, allocations: 194.3 kB / 1.384 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.489, allocations: 46.25 kB / 1.385 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/1.489, allocations: 0 / 1.385 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0005426/1.49, allocations: 275.9 kB / 1.385 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.49, allocations: 186.4 kB / 1.385 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.16e-05/1.49, allocations: 85 kB / 1.385 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/1.49, allocations: 37.2 kB / 1.385 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/1.49, allocations: 84.64 kB / 1.385 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.49, allocations: 101.5 kB / 1.385 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.49, allocations: 3.062 kB / 1.385 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.49, allocations: 322.5 kB / 1.386 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.49, allocations: 81.89 kB / 1.386 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/1.49, allocations: 135.5 kB / 1.386 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/1.491, allocations: 121.3 kB / 1.386 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.491, allocations: 0 / 1.386 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004646/1.491, allocations: 283.5 kB / 1.386 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.491, allocations: 8 kB / 1.386 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.491, allocations: 0 / 1.386 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.491, allocations: 4 kB / 1.386 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.491, allocations: 55.89 kB / 1.386 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.492, allocations: 4 kB / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.492, allocations: 19.09 kB / 1.386 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/1.492, allocations: 19.67 kB / 1.386 GB, free: 0.9414 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.492, allocations: 120.4 kB / 1.386 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/1.492, allocations: 15.81 kB / 1.386 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/1.492, allocations: 350.2 kB / 1.387 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.492, allocations: 4 kB / 1.387 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.492, allocations: 4 kB / 1.387 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.492, allocations: 8.531 kB / 1.387 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.493, allocations: 256.3 kB / 1.387 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.493, allocations: 3.953 kB / 1.387 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/1.493, allocations: 59.91 kB / 1.387 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.493, allocations: 0 / 1.387 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/1.493, allocations: 15.23 kB / 1.387 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.493, allocations: 0 / 1.387 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.493, allocations: 4 kB / 1.387 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/1.494, allocations: 400.2 kB / 1.387 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/1.494, allocations: 100.7 kB / 1.388 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/1.494, allocations: 11.45 kB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.346e-05/1.494, allocations: 7.375 kB / 1.388 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/1.494, allocations: 23.22 kB / 1.388 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/1.494, allocations: 11.98 kB / 1.388 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.312e-05/1.494, allocations: 75.28 kB / 1.388 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.494, allocations: 3.938 kB / 1.388 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005675/1.495, allocations: 106.8 kB / 1.388 GB, free: 15.44 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007952/1.495, allocations: 227.4 kB / 1.388 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004288/1.496, allocations: 236.8 kB / 1.388 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/1.496, allocations: 0 / 1.388 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.496, allocations: 145.9 kB / 1.388 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/1.496, allocations: 8.469 kB / 1.388 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/1.497, allocations: 294.4 kB / 1.389 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/1.497, allocations: 0.7204 MB / 1.389 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002531/1.497, allocations: 113.1 kB / 1.389 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/1.497, allocations: 30.59 kB / 1.389 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/1.497, allocations: 0 / 1.389 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of Templates: time 0.006072/1.503, allocations: 2.294 MB / 1.392 GB, free: 11.46 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches