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.00758/0.00758, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001528/0.001528, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.56 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3145, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001746/0.3163, allocations: 0.5973 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3185, allocations: 1.723 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.394e-05/0.3186, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.3186, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.087e-05/0.3187, allocations: 3.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3195, allocations: 309.7 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.3196, allocations: 131.8 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.3197, allocations: 0 / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.3198, allocations: 55.83 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3199, allocations: 55.92 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3199, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.3203, allocations: 343.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3204, allocations: 43.89 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.3205, allocations: 47.73 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3208, allocations: 267.4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3208, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3208, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3208, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 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.0006153/0.3215, allocations: 439.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3215, allocations: 12.03 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3216, allocations: 8.844 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.3217, allocations: 176 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3217, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.3217, allocations: 12 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.322, allocations: 220.1 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.322, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.3221, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3221, allocations: 0 / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.3223, allocations: 175.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.3226, allocations: 286 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.3233, allocations: 415.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3235, allocations: 185.1 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.3238, allocations: 199.2 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3239, allocations: 42.56 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.3239, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006351/0.3245, allocations: 386.4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.3246, allocations: 191.9 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.3247, allocations: 89.86 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3247, allocations: 33.7 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.3248, allocations: 84.64 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.3249, allocations: 106.6 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.3249, allocations: 61.62 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.325, allocations: 322.8 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3252, allocations: 91.92 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3254, allocations: 137.1 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3257, allocations: 261.2 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3257, allocations: 0 / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004372/0.3262, allocations: 293.3 kB / 1.095 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3262, allocations: 4 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3262, allocations: 4 kB / 1.095 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3262, allocations: 0 / 1.095 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3264, allocations: 59.89 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3265, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3266, allocations: 23.75 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.3266, allocations: 15.98 kB / 1.096 GB, free: 9.203 MB / 0.8575 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.0001015/0.3267, allocations: 141.7 kB / 1.096 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.3268, allocations: 7.906 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.3273, allocations: 361.5 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3273, allocations: 4 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3274, allocations: 4 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3274, allocations: 0 / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3276, allocations: 265.2 kB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3276, allocations: 0 / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3278, allocations: 59.89 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.3278, allocations: 4 kB / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3279, allocations: 8 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3279, allocations: 7.984 kB / 1.096 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3279, allocations: 0 / 1.096 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3283, allocations: 352.9 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3284, allocations: 108.9 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.3285, allocations: 11.98 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3286, allocations: 8 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3286, allocations: 27.91 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3286, allocations: 19.94 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.3287, allocations: 79.27 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 0 / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003733/0.3291, allocations: 88 kB / 1.097 GB, free: 7.559 MB / 0.8575 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.0004882/0.3296, allocations: 227 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.33, allocations: 251.9 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.33, allocations: 0 / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3302, allocations: 143.8 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.3304, allocations: 12 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.3309, allocations: 358.6 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3312, allocations: 0.7201 MB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.3314, allocations: 105.4 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.3315, allocations: 27.42 kB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3315, allocations: 0 / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.005445/0.3369, allocations: 2.577 MB / 1.101 GB, free: 3.094 MB / 0.8575 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