Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007241/0.007241, allocations: 96.94 kB / 15.73 MB, free: 6.488 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.001723/0.001723, allocations: 189.4 kB / 16.67 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001703/0.3122, allocations: 0.5889 MB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3148, allocations: 1.725 MB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.3148, allocations: 3.938 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.3149, allocations: 0 / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.487e-05/0.315, allocations: 4 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.316, allocations: 302.8 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3162, allocations: 135.8 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.3162, allocations: 8 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.247e-05/0.3163, allocations: 47.95 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3165, allocations: 59.86 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3165, allocations: 8 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.3171, allocations: 331.5 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.3171, allocations: 43.91 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.3172, allocations: 43.78 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.3177, allocations: 279.2 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3177, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.827e-06/0.3177, allocations: 0 / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3177, allocations: 7.938 kB / 1.17 GB, free: 3.188 MB / 0.92 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.0007127/0.3184, allocations: 438.9 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3185, allocations: 8.031 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.3185, allocations: 12.89 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3186, allocations: 168.3 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3187, allocations: 12.38 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3187, allocations: 24.06 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.3191, allocations: 208.2 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3191, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3191, allocations: 4 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3191, allocations: 7.938 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.3194, allocations: 183.7 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.3197, allocations: 282.1 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/0.3205, allocations: 411.8 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.3207, allocations: 185 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.3211, allocations: 199.2 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3211, allocations: 46.48 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3211, allocations: 0 / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.0006983/0.3218, allocations: 386.5 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.3219, allocations: 183.9 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.322, allocations: 93.86 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3221, allocations: 29.7 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.3221, allocations: 84.69 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.3222, allocations: 111.1 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.3223, allocations: 53.67 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3224, allocations: 322.8 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3226, allocations: 87.92 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3228, allocations: 145.2 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.3231, allocations: 261.2 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3232, allocations: 4 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004552/0.3236, allocations: 289.3 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3236, allocations: 11.98 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3237, allocations: 4 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3237, allocations: 4 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3239, allocations: 51.91 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.324, allocations: 7.984 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.3241, allocations: 15.89 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3241, allocations: 15.98 kB / 1.174 GB, free: 14.51 MB / 0.9356 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.0001132/0.3242, allocations: 133.8 kB / 1.174 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.3242, allocations: 15.89 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.3249, allocations: 369.3 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3249, allocations: 4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3249, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3249, allocations: 7.984 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3252, allocations: 257.4 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3252, allocations: 0 / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3254, allocations: 59.84 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3254, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3255, allocations: 11.98 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.3255, allocations: 4 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3255, allocations: 8 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.3259, allocations: 341 kB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3261, allocations: 124.9 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3261, allocations: 12 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.3262, allocations: 4 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.3263, allocations: 23.97 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.3263, allocations: 15.92 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.3263, allocations: 79.28 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3263, allocations: 0 / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004149/0.3268, allocations: 91.86 kB / 1.176 GB, free: 12.86 MB / 0.9356 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.0005359/0.3273, allocations: 217.8 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.3277, allocations: 259.6 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3278, allocations: 0 / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3279, allocations: 139.8 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3281, allocations: 13.56 kB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.3287, allocations: 362.3 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.329, allocations: 0.7085 MB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.3292, allocations: 109.4 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.3293, allocations: 35.41 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3293, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Templates: time 0.005814/0.3351, allocations: 2.568 MB / 1.18 GB, free: 8.395 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches