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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 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.001973/0.001974, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.402/1.402, 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.886/2.886, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.28 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3715, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002207/0.3737, allocations: 0.591 MB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3764, allocations: 1.73 MB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.3764, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.3765, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.3765, allocations: 0 / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3776, allocations: 307.1 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3778, allocations: 127.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3778, allocations: 7.984 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.3779, allocations: 51.91 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.378, allocations: 51.92 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3781, allocations: 4 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005235/0.3786, allocations: 287.6 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.3787, allocations: 43.91 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.3787, allocations: 47.72 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.3792, allocations: 275.3 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3792, allocations: 11.98 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3792, allocations: 0 / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3792, allocations: 0 / 1.072 GB, free: 6.863 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.0007956/0.38, allocations: 437.1 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3801, allocations: 12.03 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.3802, allocations: 20.69 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3803, allocations: 168.3 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3803, allocations: 8.375 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.3803, allocations: 16.12 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3807, allocations: 219.6 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3807, allocations: 4 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.3807, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3807, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.381, allocations: 179.7 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3814, allocations: 278.1 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.3821, allocations: 411.8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.3823, allocations: 185.1 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.3827, allocations: 191.2 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3827, allocations: 42.5 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.3827, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006467/0.3834, allocations: 390.5 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.3835, allocations: 187.9 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.3836, allocations: 93.86 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3836, allocations: 29.7 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.3837, allocations: 84.69 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3838, allocations: 106.4 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.3839, allocations: 57.81 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.384, allocations: 326.8 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3841, allocations: 87.86 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3843, allocations: 137.1 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.3847, allocations: 273.1 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3847, allocations: 0 / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004337/0.3851, allocations: 289.2 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3851, allocations: 5.562 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3851, allocations: 4 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3852, allocations: 0 / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3854, allocations: 59.89 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3854, allocations: 4 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.3855, allocations: 15.84 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.3855, allocations: 16.36 kB / 1.076 GB, free: 2.188 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.0001039/0.3857, allocations: 137.8 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.3857, allocations: 11.84 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.3863, allocations: 364.7 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3863, allocations: 4 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3863, allocations: 4 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3863, allocations: 0 / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3866, allocations: 257.3 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3866, allocations: 11.98 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3868, allocations: 51.91 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3868, allocations: 4 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3869, allocations: 11.98 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3869, allocations: 4 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3869, allocations: 0 / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.3873, allocations: 345.4 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3875, allocations: 120.9 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3875, allocations: 8 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.3876, allocations: 8 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.3876, allocations: 19.97 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3877, allocations: 15.98 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.3877, allocations: 79.28 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 0 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004121/0.3881, allocations: 99.92 kB / 1.077 GB, free: 0.5469 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.0005845/0.3887, allocations: 214.2 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3892, allocations: 279.6 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3892, allocations: 4.094 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.3894, allocations: 135.8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.3896, allocations: 13.56 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.3902, allocations: 371.8 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3905, allocations: 0.7163 MB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.3907, allocations: 109.4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.3908, allocations: 27.41 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3908, allocations: 0 / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.007887/0.3987, allocations: 2.561 MB / 1.082 GB, free: 12.07 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