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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 216.6 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 476.8 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 66.64 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3904, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001828/0.3922, allocations: 0.6077 MB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3951, allocations: 1.8 MB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.3951, allocations: 11.88 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.3951, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.3952, allocations: 3.938 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.3962, allocations: 318.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.3964, allocations: 131.8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.3964, allocations: 4 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.3965, allocations: 47.95 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3966, allocations: 55.88 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3967, allocations: 8 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.3972, allocations: 351.6 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.3973, allocations: 43.89 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.3974, allocations: 39.78 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.3978, allocations: 283.2 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3978, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3978, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3978, allocations: 0 / 1.287 GB, free: 8.016 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.0006849/0.3985, allocations: 385.6 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3985, allocations: 8.031 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.3986, allocations: 46.75 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.3986, allocations: 8.891 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.3987, allocations: 118.4 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3988, allocations: 8.375 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.3988, allocations: 15.94 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.3991, allocations: 220.4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3992, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.3992, allocations: 8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3992, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.3995, allocations: 183.7 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3998, allocations: 249.2 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.4006, allocations: 391.7 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.4009, allocations: 157.2 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.4012, allocations: 44.95 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.4013, allocations: 46.5 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.4013, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0007343/0.402, allocations: 385.4 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4021, allocations: 195.9 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.4022, allocations: 93.86 kB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4023, allocations: 29.7 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.4023, allocations: 80.64 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4024, allocations: 107.1 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.4025, allocations: 53.69 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4027, allocations: 322.8 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4028, allocations: 91.86 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.403, allocations: 145.2 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.4034, allocations: 258.2 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4034, allocations: 0 / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004787/0.4039, allocations: 293.6 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4039, allocations: 10.34 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4039, allocations: 0 / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.404, allocations: 12.05 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4042, allocations: 55.91 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4042, allocations: 4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.4043, allocations: 23.78 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4044, allocations: 15.98 kB / 1.291 GB, free: 3.688 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.0001461/0.4045, allocations: 141.6 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.4045, allocations: 11.95 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.4052, allocations: 360.8 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4052, allocations: 8 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4052, allocations: 0 / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.4052, allocations: 4 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.4055, allocations: 232.5 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4055, allocations: 0 / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.4058, allocations: 55.91 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4058, allocations: 0 / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.4058, allocations: 16.36 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4058, allocations: 0 / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4058, allocations: 4 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.4064, allocations: 349 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4065, allocations: 47.8 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4065, allocations: 8 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.4066, allocations: 8 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.4066, allocations: 23.95 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4066, allocations: 15.98 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.4067, allocations: 75.28 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4067, allocations: 0 / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004363/0.4071, allocations: 95.81 kB / 1.292 GB, free: 2.168 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.001176/0.4083, allocations: 0.9763 MB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.4088, allocations: 239.7 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4088, allocations: 4 kB / 1.293 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.409, allocations: 132.6 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.4092, allocations: 19.94 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.4101, allocations: 432.5 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.4105, allocations: 0.7124 MB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.4107, allocations: 117.3 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.4108, allocations: 39.42 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4108, allocations: 0 / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.4464, allocations: 4.411 MB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.83, allocations: 12.67 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.855566838989034]