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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001986/0.001987, 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.001479/0.001479, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.33 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00192/0.3074, allocations: 0.6026 MB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3097, allocations: 1.714 MB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3098, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3098, allocations: 7.922 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.378e-05/0.3099, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.3108, allocations: 304 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.311, allocations: 127.8 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.311, allocations: 4 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.3111, allocations: 55.83 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3112, allocations: 59.92 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.3112, allocations: 4 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.3117, allocations: 287.7 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.57e-05/0.3118, allocations: 39.89 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.3118, allocations: 51.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3122, allocations: 263.5 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3122, allocations: 3.938 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3123, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3123, allocations: 0 / 1.067 GB, free: 10.96 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.0006563/0.3129, allocations: 439.4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.313, allocations: 12.03 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.313, allocations: 46.73 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.3131, allocations: 8.844 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3132, allocations: 184.2 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3132, allocations: 8.375 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3133, allocations: 15.94 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3136, allocations: 211.9 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3136, allocations: 3.984 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3136, allocations: 12 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3136, allocations: 4 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.3139, allocations: 171.8 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.3142, allocations: 282.1 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007155/0.3149, allocations: 415.7 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.3151, allocations: 185.1 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.3155, allocations: 195.2 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3155, allocations: 38.56 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.3155, allocations: 0 / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006368/0.3162, allocations: 386.5 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.3162, allocations: 191.9 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.3163, allocations: 93.8 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.3163, allocations: 33.7 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.3164, allocations: 80.7 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.783e-05/0.3165, allocations: 102.5 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.3165, allocations: 57.69 kB / 1.07 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.3166, allocations: 323 kB / 1.07 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3168, allocations: 95.86 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3169, allocations: 149 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.3173, allocations: 257.2 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3173, allocations: 4 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004335/0.3177, allocations: 293.2 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3178, allocations: 4 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3178, allocations: 4 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3178, allocations: 3.984 kB / 1.071 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.318, allocations: 59.91 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3181, allocations: 0 / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3182, allocations: 19.84 kB / 1.071 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3182, allocations: 11.98 kB / 1.071 GB, free: 6.227 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.0001037/0.3183, allocations: 145.7 kB / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3183, allocations: 7.906 kB / 1.071 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005761/0.3189, allocations: 365.5 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3189, allocations: 4 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3189, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.319, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.3192, allocations: 261.2 kB / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3192, allocations: 0 / 1.072 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3194, allocations: 59.91 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3195, allocations: 11.98 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.3195, allocations: 11.98 kB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3195, allocations: 0 / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3195, allocations: 7.938 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.3199, allocations: 337.1 kB / 1.072 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.32, allocations: 120.8 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.3201, allocations: 8 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.3202, allocations: 8 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.3202, allocations: 27.91 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3203, allocations: 11.98 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.3203, allocations: 79.28 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3203, allocations: 4.094 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003865/0.3207, allocations: 95.98 kB / 1.073 GB, free: 4.57 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.001051/0.3218, allocations: 0.9805 MB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.3222, allocations: 267.9 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3222, allocations: 0 / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3224, allocations: 143.8 kB / 1.074 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.3226, allocations: 12 kB / 1.074 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.3233, allocations: 447.9 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3236, allocations: 0.7178 MB / 1.075 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.3238, allocations: 105.4 kB / 1.075 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.3239, allocations: 43.41 kB / 1.075 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3239, allocations: 0 / 1.075 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.3452, allocations: 4.074 MB / 1.079 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.774, allocations: 3.391 kB / 1.079 GB, free: 13.8 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/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