Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007743/0.007743, allocations: 97.66 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.001955/0.001955, allocations: 202.5 kB / 16.68 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.967/2.967, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 71.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3739, allocations: 159.1 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002205/0.3761, allocations: 0.603 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.3787, allocations: 1.722 MB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.3788, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.3788, allocations: 3.984 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.3788, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.3798, allocations: 303.1 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.38, allocations: 131.8 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.38, allocations: 7.984 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.3801, allocations: 55.89 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3802, allocations: 55.92 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3803, allocations: 8 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.3808, allocations: 339.5 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.3808, allocations: 43.89 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.3809, allocations: 43.67 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.3813, allocations: 279.2 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3813, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3813, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3813, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 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.0006919/0.382, allocations: 450.8 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.382, allocations: 8.031 kB / 1.225 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.3821, allocations: 16.88 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3822, allocations: 168.3 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3822, allocations: 16.38 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3822, allocations: 12.12 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.3826, allocations: 231.1 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3826, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.3827, allocations: 4 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3827, allocations: 4 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.383, allocations: 179.7 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.3833, allocations: 278.2 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.384, allocations: 391.8 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3842, allocations: 165.1 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.3845, allocations: 199.2 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3846, allocations: 46.5 kB / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.3846, allocations: 0 / 1.226 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006771/0.3853, allocations: 385.2 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.3854, allocations: 183.9 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.3854, allocations: 97.86 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3855, allocations: 29.7 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.3855, allocations: 88.69 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3856, allocations: 107 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.3857, allocations: 57.69 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3858, allocations: 322.8 kB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.386, allocations: 79.94 kB / 1.227 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3861, allocations: 141.2 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.3865, allocations: 262.4 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3865, allocations: 0 / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004371/0.387, allocations: 293.7 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.387, allocations: 4 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.387, allocations: 4 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.387, allocations: 4 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3872, allocations: 59.91 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3873, allocations: 4 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3874, allocations: 19.88 kB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3874, allocations: 8 kB / 1.228 GB, free: 5.508 MB / 0.9825 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.0001435/0.3875, allocations: 146.2 kB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.3876, allocations: 19.83 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.3882, allocations: 360.8 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3882, allocations: 4 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3882, allocations: 4 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3882, allocations: 3.984 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3885, allocations: 257.4 kB / 1.229 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3885, allocations: 4 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3887, allocations: 56.28 kB / 1.229 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3887, allocations: 4 kB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3887, allocations: 11.98 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.3887, allocations: 8 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3887, allocations: 4 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.3892, allocations: 349 kB / 1.229 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3893, allocations: 117 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3893, allocations: 8 kB / 1.23 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.3894, allocations: 12 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.3895, allocations: 27.95 kB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3895, allocations: 8 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.3895, allocations: 75.28 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3895, allocations: 0 / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004188/0.39, allocations: 107.7 kB / 1.23 GB, free: 3.84 MB / 0.9825 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.0005334/0.3905, allocations: 207.4 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.3909, allocations: 243.6 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3909, allocations: 0 / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3911, allocations: 124.7 kB / 1.23 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.3913, allocations: 18.34 kB / 1.23 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/0.3919, allocations: 367.7 kB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.3921, allocations: 0.7124 MB / 1.231 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.3924, allocations: 105.4 kB / 1.231 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.3924, allocations: 31.34 kB / 1.232 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3924, allocations: 4 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.005724/0.3981, allocations: 2.584 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches