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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 148 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.001174/0.001174, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 74.34 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.375, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002022/0.3771, allocations: 0.5972 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3796, allocations: 1.722 MB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.3797, allocations: 3.938 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.3797, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.3798, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.3807, allocations: 302.5 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3809, allocations: 131.8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.381, allocations: 4 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.3811, allocations: 51.89 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3812, allocations: 59.92 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3812, allocations: 4 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.3817, allocations: 287.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.3818, allocations: 39.91 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.3818, allocations: 55.7 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.3822, allocations: 271.3 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3822, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3822, allocations: 3.938 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3822, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8262 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.0006959/0.3829, allocations: 439.3 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.383, allocations: 12.03 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.383, allocations: 16.75 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3832, allocations: 168.3 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3832, allocations: 8.375 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3832, allocations: 20.06 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.3836, allocations: 215.7 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3836, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3836, allocations: 8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3836, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.3839, allocations: 179.7 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3843, allocations: 282.1 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.385, allocations: 411.8 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3853, allocations: 189.1 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.3858, allocations: 195.2 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3859, allocations: 42.5 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.3859, allocations: 4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007594/0.3867, allocations: 386.6 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3868, allocations: 183.9 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.3869, allocations: 93.84 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3869, allocations: 33.7 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.387, allocations: 80.7 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3871, allocations: 106.4 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.3872, allocations: 61.81 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.3874, allocations: 318.8 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.3876, allocations: 87.94 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.3877, allocations: 144.9 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3881, allocations: 269.1 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3881, allocations: 0 / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004557/0.3886, allocations: 297.2 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3886, allocations: 4 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3886, allocations: 4 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3887, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.3889, allocations: 55.91 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3889, allocations: 3.984 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.389, allocations: 15.84 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3891, allocations: 16 kB / 1.076 GB, free: 2.223 MB / 0.8262 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.0001328/0.3892, allocations: 141.8 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.3893, allocations: 11.84 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.39, allocations: 357.5 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.39, allocations: 4 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.39, allocations: 8 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.39, allocations: 3.984 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3903, allocations: 257.3 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3903, allocations: 4 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.3905, allocations: 55.91 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.3906, allocations: 7.984 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3906, allocations: 8 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3906, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3906, allocations: 4 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.3911, allocations: 345 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.3913, allocations: 116.9 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3913, allocations: 8 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.3914, allocations: 8 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.3915, allocations: 23.95 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3915, allocations: 12 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.3916, allocations: 79.28 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.144e-06/0.3916, allocations: 0 / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004563/0.392, allocations: 99.86 kB / 1.077 GB, free: 0.5859 MB / 0.8262 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.0006241/0.3927, allocations: 219.3 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.3932, allocations: 276 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3932, allocations: 4.094 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3934, allocations: 139.8 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3936, allocations: 23.72 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.3943, allocations: 366.3 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3946, allocations: 0.7202 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.3949, allocations: 105.4 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.3949, allocations: 23.42 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3949, allocations: 0 / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.005961/0.4009, allocations: 2.555 MB / 1.082 GB, free: 12.11 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches