Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007553/0.007553, allocations: 101.2 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.001687/0.001687, allocations: 196 kB / 16.67 MB, free: 5.977 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.461/1.461, 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 9.1.2-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.34 kB / 0.9509 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2848, allocations: 140.4 MB / 1.088 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001848/0.2867, allocations: 0.5989 MB / 1.089 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2893, allocations: 1.711 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2893, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.2894, allocations: 4 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.2894, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.2904, allocations: 303 kB / 1.091 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.2906, allocations: 131.9 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.2906, allocations: 7.984 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.2907, allocations: 51.84 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2909, allocations: 63.91 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.2909, allocations: 4 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.2915, allocations: 339.6 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.2916, allocations: 39.89 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.2917, allocations: 39.73 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.2922, allocations: 279.3 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2922, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2922, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.2922, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 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.0007139/0.293, allocations: 439.3 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.293, allocations: 12.03 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.2931, allocations: 8.844 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2932, allocations: 176 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2932, allocations: 12 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.2932, allocations: 12 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.2936, allocations: 216.1 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2936, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2937, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2937, allocations: 8 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.294, allocations: 175.8 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.2943, allocations: 278 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.2951, allocations: 415.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2953, allocations: 197.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003545/0.2957, allocations: 191.2 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2957, allocations: 38.56 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.2957, allocations: 0 / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006803/0.2964, allocations: 389.2 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.2965, allocations: 187.9 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.2965, allocations: 93.86 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2966, allocations: 29.7 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.2966, allocations: 84.7 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.2967, allocations: 102.4 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.2968, allocations: 53.69 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2969, allocations: 334.8 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.297, allocations: 87.92 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2972, allocations: 138.6 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.2976, allocations: 265 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2976, allocations: 4 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004404/0.2981, allocations: 285.5 kB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2981, allocations: 4 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2981, allocations: 0 / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2981, allocations: 4 kB / 1.095 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.2984, allocations: 63.89 kB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2984, allocations: 0 / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.2985, allocations: 19.75 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2985, allocations: 11.98 kB / 1.096 GB, free: 9.352 MB / 0.8575 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.0001164/0.2986, allocations: 141.7 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2987, allocations: 15.84 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.2993, allocations: 356.8 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2993, allocations: 4 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2993, allocations: 4.562 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2993, allocations: 0 / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.2996, allocations: 261.2 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2996, allocations: 4 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.2998, allocations: 63.89 kB / 1.096 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.2998, allocations: 4 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2998, allocations: 15.98 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2999, allocations: 0 / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2999, allocations: 4 kB / 1.096 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.3003, allocations: 348.9 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3004, allocations: 116.9 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.3004, allocations: 8 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.3005, allocations: 8 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3006, allocations: 19.97 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3006, allocations: 23.86 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.3007, allocations: 75.28 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3007, allocations: 4.094 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003811/0.301, allocations: 95.98 kB / 1.097 GB, free: 7.691 MB / 0.8575 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.0005169/0.3016, allocations: 210.3 kB / 1.097 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.302, allocations: 256.1 kB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.302, allocations: 0 / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3022, allocations: 144.7 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.3024, allocations: 19.98 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.303, allocations: 350.6 kB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3032, allocations: 0.7162 MB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.3035, allocations: 109.4 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.3035, allocations: 31.42 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3035, allocations: 7.938 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.005424/0.309, allocations: 2.53 MB / 1.101 GB, free: 3.273 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches