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.001121/0.001121, 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.001333/0.001333, allocations: 194 kB / 16.14 MB, free: 6.648 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.7 MB / 0.7447 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65.36 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002409/0.3785, allocations: 0.658 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.3815, allocations: 1.769 MB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.3816, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.3817, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.3817, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3828, allocations: 250.2 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.383, allocations: 123.8 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.383, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3831, allocations: 51.89 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.3833, allocations: 55.94 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.3833, allocations: 4 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.384, allocations: 295.6 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.3841, allocations: 35.91 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.3842, allocations: 51.72 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.3848, allocations: 279.3 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.093e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3848, allocations: 0 / 1.071 GB, free: 7.238 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.000817/0.3856, allocations: 443.6 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3857, allocations: 8.031 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.3858, allocations: 16.75 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3859, allocations: 172.2 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.386, allocations: 16.31 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.386, allocations: 20.11 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3864, allocations: 211.2 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3864, allocations: 3.938 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3864, allocations: 4 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3864, allocations: 7.984 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.3868, allocations: 175.8 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3872, allocations: 278.1 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.3881, allocations: 407.8 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.3884, allocations: 177.1 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/0.3888, allocations: 199.2 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3889, allocations: 50.48 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3889, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.000697/0.3896, allocations: 385.4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.3897, allocations: 187.9 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.3898, allocations: 89.86 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3898, allocations: 29.7 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.3899, allocations: 80.83 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.39, allocations: 110.5 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3901, allocations: 53.69 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3903, allocations: 322.8 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3904, allocations: 87.92 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3906, allocations: 150.2 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.391, allocations: 258.3 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.391, allocations: 4 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000457/0.3914, allocations: 293.5 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3915, allocations: 8 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3915, allocations: 64 / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3915, allocations: 8 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3918, allocations: 51.91 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3918, allocations: 4 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3919, allocations: 23.83 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3919, allocations: 12 kB / 1.075 GB, free: 2.562 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.0001445/0.3921, allocations: 135.3 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.3921, allocations: 19.83 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.3928, allocations: 364.7 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3928, allocations: 4 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3928, allocations: 3.984 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3928, allocations: 11.98 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.3931, allocations: 257.3 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3931, allocations: 0 / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3933, allocations: 55.91 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3933, allocations: 3.938 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.3934, allocations: 12.36 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3934, allocations: 4 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3934, allocations: 4 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.3939, allocations: 349.5 kB / 1.076 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.394, allocations: 120.9 kB / 1.076 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3941, allocations: 4 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3941, allocations: 4 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.3942, allocations: 23.97 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3942, allocations: 19.98 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.3943, allocations: 79.28 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 0 / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004341/0.3947, allocations: 91.98 kB / 1.077 GB, free: 0.9141 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.0006268/0.3954, allocations: 216.2 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.3958, allocations: 251.7 kB / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3958, allocations: 0 / 1.077 GB, free: 464 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.396, allocations: 144.8 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.3962, allocations: 12 kB / 1.077 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.3969, allocations: 400.9 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3972, allocations: 0.7166 MB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.3975, allocations: 109.4 kB / 1.078 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.3975, allocations: 27.41 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3975, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.006228/0.4038, allocations: 2.508 MB / 1.081 GB, free: 12.47 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