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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001868/0.001868, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 70.53 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3928, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002463/0.3953, allocations: 0.6696 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3982, allocations: 1.769 MB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3983, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.3984, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.3984, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3994, allocations: 252.8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.3996, allocations: 119.9 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.3997, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3998, allocations: 55.83 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4, allocations: 55.94 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.4, allocations: 4 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007368/0.4007, allocations: 299 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.4009, allocations: 43.89 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.401, allocations: 47.72 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.4017, allocations: 271.4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4017, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4017, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4017, allocations: 0 / 1.071 GB, free: 7.348 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.0009898/0.4027, allocations: 443.6 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.4028, allocations: 12.03 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.4029, allocations: 12.75 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.4031, allocations: 172.3 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.4031, allocations: 8.375 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.4031, allocations: 20.06 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.4036, allocations: 219.1 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4036, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.4036, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4036, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.404, allocations: 175.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.4044, allocations: 282.1 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.4053, allocations: 403.8 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.4055, allocations: 185.1 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.4061, allocations: 203.1 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4061, allocations: 38.56 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.4061, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007417/0.4069, allocations: 381.4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.407, allocations: 191.9 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.4071, allocations: 93.86 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4071, allocations: 29.7 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.4071, allocations: 80.7 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.4072, allocations: 98.67 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.4073, allocations: 61.69 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4075, allocations: 330.7 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4076, allocations: 87.92 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.4078, allocations: 146.3 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.4082, allocations: 258.3 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4082, allocations: 0 / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004711/0.4087, allocations: 301.5 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4087, allocations: 8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4087, allocations: 0 / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4087, allocations: 4.062 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.409, allocations: 59.89 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.409, allocations: 4 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.4091, allocations: 15.84 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.4092, allocations: 19.98 kB / 1.075 GB, free: 2.66 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.0001253/0.4093, allocations: 133.8 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.4093, allocations: 15.84 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000595/0.4099, allocations: 360.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.41, allocations: 8 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.41, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.41, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.4102, allocations: 257.3 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4103, allocations: 8 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4105, allocations: 55.89 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4105, allocations: 4 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4105, allocations: 12.31 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.4105, allocations: 7.984 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4105, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.411, allocations: 349 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4111, allocations: 116.9 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4112, allocations: 7.984 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.4113, allocations: 4 kB / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4113, allocations: 23.97 kB / 1.076 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.4114, allocations: 15.98 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.4114, allocations: 83.22 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4114, allocations: 0 / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004642/0.4119, allocations: 92 kB / 1.077 GB, free: 1.023 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.0006344/0.4125, allocations: 211.2 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.413, allocations: 243.8 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.413, allocations: 4 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.4132, allocations: 144.7 kB / 1.077 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.4134, allocations: 17.55 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.414, allocations: 392.8 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4143, allocations: 0.7166 MB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.4146, allocations: 109.4 kB / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.4147, allocations: 31.36 kB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of SimCode: time 4e-07/0.4147, allocations: 0 / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of Templates: time 0.006332/0.421, allocations: 2.52 MB / 1.081 GB, free: 12.58 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