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.001516/0.001524, allocations: 110 kB / 16.37 MB, free: 6.469 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.001641/0.001641, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68.55 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2786, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001922/0.2806, allocations: 0.5965 MB / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.2828, allocations: 1.719 MB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.2829, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.2829, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-05/0.283, allocations: 4 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008145/0.2838, allocations: 306.7 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.284, allocations: 127.9 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.284, allocations: 4 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.2841, allocations: 51.89 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2842, allocations: 59.91 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2842, allocations: 8 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.2847, allocations: 339.1 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.2847, allocations: 43.91 kB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.2848, allocations: 43.72 kB / 0.9543 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.2852, allocations: 283.3 kB / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2852, allocations: 0 / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2852, allocations: 0 / 0.9546 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2852, allocations: 0 / 0.9546 GB, free: 4.516 MB / 0.7325 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.0006175/0.2858, allocations: 439.3 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.2859, allocations: 12.03 kB / 0.955 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.2859, allocations: 20.78 kB / 0.955 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.286, allocations: 164.3 kB / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.286, allocations: 19.88 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2861, allocations: 12 kB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2864, allocations: 219.1 kB / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2864, allocations: 0 / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2864, allocations: 4 kB / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2864, allocations: 4 kB / 0.9555 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.2867, allocations: 183.7 kB / 0.9556 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.287, allocations: 278 kB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.2877, allocations: 407.8 kB / 0.9563 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2879, allocations: 181.2 kB / 0.9565 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.2882, allocations: 195.2 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2882, allocations: 46.5 kB / 0.9567 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.2882, allocations: 0 / 0.9567 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006276/0.2889, allocations: 394.4 kB / 0.9571 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.289, allocations: 187.9 kB / 0.9572 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.289, allocations: 93.86 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2891, allocations: 29.7 kB / 0.9574 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.2891, allocations: 80.7 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.2892, allocations: 114.6 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.2893, allocations: 53.69 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.2894, allocations: 326.8 kB / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.2895, allocations: 83.92 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.2897, allocations: 142.1 kB / 0.9581 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.29, allocations: 273.1 kB / 0.9584 GB, free: 228 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.29, allocations: 4 kB / 0.9584 GB, free: 224 kB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004272/0.2905, allocations: 277.4 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2905, allocations: 8 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2905, allocations: 0 / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2905, allocations: 4 kB / 0.9587 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2907, allocations: 59.89 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2908, allocations: 4 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.2909, allocations: 15.84 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.2909, allocations: 15.98 kB / 0.9588 GB, free: 15.83 MB / 0.7481 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.0001079/0.291, allocations: 141.2 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.291, allocations: 16.19 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.2916, allocations: 364.8 kB / 0.9593 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2916, allocations: 4 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2916, allocations: 0 / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2916, allocations: 4 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2919, allocations: 261.3 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2919, allocations: 0 / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.2921, allocations: 63.89 kB / 0.9596 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2921, allocations: 3.938 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2921, allocations: 11.98 kB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2922, allocations: 4 kB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2922, allocations: 4 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.2926, allocations: 341.3 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.2927, allocations: 120.9 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2928, allocations: 15.98 kB / 0.96 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.2929, allocations: 4 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.2929, allocations: 23.97 kB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.2929, allocations: 15.98 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.293, allocations: 83.22 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.293, allocations: 0 / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003731/0.2934, allocations: 99.92 kB / 0.9603 GB, free: 14.17 MB / 0.7481 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.0004517/0.2938, allocations: 207.1 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.2942, allocations: 255.8 kB / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2942, allocations: 0 / 0.9607 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.2944, allocations: 135.8 kB / 0.9608 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.2946, allocations: 19.98 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.2951, allocations: 358.8 kB / 0.9612 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2954, allocations: 0.7163 MB / 0.9619 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.2956, allocations: 109.4 kB / 0.962 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.2957, allocations: 27.42 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.2957, allocations: 0 / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.005133/0.3008, allocations: 2.543 MB / 0.9645 GB, free: 9.758 MB / 0.7481 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 -s gbode -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/jenkins1/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