Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002471/0.002471, allocations: 220.7 kB / 22.24 MB, free: 5.102 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.144/3.144, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_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.003265/0.003265, allocations: 62.94 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3884, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0024/0.3908, allocations: 0.6023 MB / 1.326 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.394, allocations: 1.733 MB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.3941, allocations: 4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.3941, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.3942, allocations: 3.938 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3953, allocations: 317 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3955, allocations: 127.9 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.3955, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.865e-05/0.3956, allocations: 51.89 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3958, allocations: 55.91 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3958, allocations: 8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005981/0.3964, allocations: 344.5 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.3965, allocations: 47.89 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.3965, allocations: 35.78 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.397, allocations: 287.2 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.397, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.136e-06/0.397, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.397, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 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.000828/0.3978, allocations: 379.6 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3979, allocations: 12.03 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.057e-05/0.398, allocations: 42.75 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.398, allocations: 12.83 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3981, allocations: 114.5 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3981, allocations: 8.375 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3982, allocations: 19.88 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.3986, allocations: 218.6 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3986, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3986, allocations: 7.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3986, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3989, allocations: 183.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3993, allocations: 241.2 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.4002, allocations: 391.7 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.4004, allocations: 169.2 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.4008, allocations: 40.97 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4008, allocations: 42.5 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.4008, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007151/0.4015, allocations: 385.2 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.4016, allocations: 191.9 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.4017, allocations: 89.86 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.4017, allocations: 33.7 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.4018, allocations: 80.64 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4019, allocations: 103.1 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.402, allocations: 61.81 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4021, allocations: 322.8 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4023, allocations: 87.92 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.4025, allocations: 143.1 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.4029, allocations: 264.9 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4029, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004691/0.4033, allocations: 293.4 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4033, allocations: 4 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4033, allocations: 0 / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4034, allocations: 4 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.4036, allocations: 59.89 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4036, allocations: 4 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4037, allocations: 19.84 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.4038, allocations: 15.98 kB / 1.333 GB, free: 9.531 MB / 1.029 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.0001359/0.4039, allocations: 142.2 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4039, allocations: 11.95 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006371/0.4046, allocations: 365.4 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4046, allocations: 4 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4046, allocations: 4 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4046, allocations: 0 / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.4048, allocations: 220.5 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4049, allocations: 19.92 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.4051, allocations: 51.91 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4051, allocations: 4 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.4051, allocations: 15.92 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.4051, allocations: 4 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4051, allocations: 0 / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.4056, allocations: 345.2 kB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4057, allocations: 43.8 kB / 1.334 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4058, allocations: 8 kB / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.4059, allocations: 8 kB / 1.334 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4059, allocations: 27.94 kB / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.4059, allocations: 12 kB / 1.334 GB, free: 8.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.406, allocations: 83.27 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.406, allocations: 0 / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004046/0.4064, allocations: 95.81 kB / 1.335 GB, free: 8.004 MB / 1.029 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.001076/0.4075, allocations: 0.9715 MB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.4079, allocations: 237.3 kB / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4079, allocations: 0 / 1.336 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.4081, allocations: 140 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.4083, allocations: 12 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.4091, allocations: 439.7 kB / 1.336 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.4092, allocations: 99.75 kB / 1.336 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.4094, allocations: 109.3 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.4095, allocations: 35.42 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4095, allocations: 0 / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.4419, allocations: 4.697 MB / 1.341 GB, free: 1.297 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 5.75 kB / 1.341 GB, free: 1.293 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.47905767901102]