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.005534/0.005534, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001329/0.001329, allocations: 191 kB / 16.67 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 65.33 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2884, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001551/0.29, allocations: 0.595 MB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2923, allocations: 1.715 MB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.2923, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.2924, allocations: 3.938 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.2924, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.2933, allocations: 312.9 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.2935, allocations: 139.7 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.2936, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.2937, allocations: 47.91 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2938, allocations: 55.92 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2938, allocations: 8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.2943, allocations: 339.5 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.2943, allocations: 43.89 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.2944, allocations: 43.72 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.2948, allocations: 271.4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.2948, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2948, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2948, allocations: 0 / 1.091 GB, free: 13.89 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.0006323/0.2954, allocations: 439.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.2955, allocations: 8.031 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.2955, allocations: 12.84 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.64e-05/0.2956, allocations: 176 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2956, allocations: 16 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2957, allocations: 12 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.296, allocations: 216.1 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.296, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.296, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.296, allocations: 4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.2963, allocations: 179.8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.2966, allocations: 281.9 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.2973, allocations: 411.8 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.2975, allocations: 181.1 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.2978, allocations: 207.2 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2979, allocations: 38.56 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.592e-06/0.2979, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006408/0.2985, allocations: 381.4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.2986, allocations: 195.9 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.2987, allocations: 97.84 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2987, allocations: 29.7 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.2987, allocations: 80.7 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.2988, allocations: 102.5 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.2989, allocations: 53.69 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.299, allocations: 326.8 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.2992, allocations: 91.98 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.2993, allocations: 141.1 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.2997, allocations: 258.3 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.2997, allocations: 4 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004126/0.3001, allocations: 285.6 kB / 1.095 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3001, allocations: 11.94 kB / 1.095 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3001, allocations: 64 / 1.095 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3002, allocations: 8 kB / 1.095 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.3004, allocations: 59.89 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3004, allocations: 4 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.3005, allocations: 19.75 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3005, allocations: 15.92 kB / 1.096 GB, free: 9.207 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.0001046/0.3007, allocations: 133.8 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.3007, allocations: 19.91 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.3013, allocations: 356.8 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3013, allocations: 7.984 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3013, allocations: 0 / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3013, allocations: 4 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.3015, allocations: 257.3 kB / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3015, allocations: 0 / 1.096 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3018, allocations: 63.89 kB / 1.096 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3018, allocations: 0 / 1.096 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3018, allocations: 12.38 kB / 1.096 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.3018, allocations: 11.97 kB / 1.096 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3018, allocations: 7.938 kB / 1.096 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3023, allocations: 349 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.3024, allocations: 116.9 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3024, allocations: 8 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.3025, allocations: 7.984 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.3026, allocations: 27.91 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3026, allocations: 11.94 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.004e-05/0.3026, allocations: 83.27 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3026, allocations: 0 / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003805/0.303, allocations: 92.09 kB / 1.097 GB, free: 7.551 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.0004911/0.3035, allocations: 207.5 kB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.3039, allocations: 247.7 kB / 1.098 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3039, allocations: 3.938 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3041, allocations: 140.8 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.3043, allocations: 21.72 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.3049, allocations: 351.1 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3052, allocations: 0.724 MB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.3054, allocations: 105.4 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.3054, allocations: 27.42 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3054, allocations: 0 / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.005476/0.3109, allocations: 2.583 MB / 1.101 GB, free: 3.098 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