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.001298/0.001298, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001408/0.001408, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.68/2.68, allocations: 476.8 MB / 0.7715 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="cs",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.00198/0.00198, allocations: 64.88 kB / 1.118 GB, free: 39.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 170 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001877/0.3605, allocations: 0.6129 MB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.3632, allocations: 1.812 MB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.3633, allocations: 4 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.3633, allocations: 4 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.3633, allocations: 3.938 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009252/0.3643, allocations: 308.1 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3645, allocations: 131.8 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.3645, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.3646, allocations: 55.89 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3647, allocations: 51.94 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3647, allocations: 4 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.3653, allocations: 358 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.3653, allocations: 35.92 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.3654, allocations: 51.7 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.3658, allocations: 287.2 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3658, allocations: 0 / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3658, allocations: 0 / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3658, allocations: 0 / 1.288 GB, free: 7.598 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.0007146/0.3665, allocations: 373.7 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3666, allocations: 8.031 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.087e-05/0.3666, allocations: 8.188 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.3666, allocations: 46.73 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.3667, allocations: 12.83 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.3668, allocations: 114.4 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.3668, allocations: 16.12 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3668, allocations: 12 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.3672, allocations: 223.9 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3672, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3672, allocations: 4 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3672, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.3675, allocations: 179.7 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.3679, allocations: 249.2 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.3687, allocations: 399.7 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.3689, allocations: 165.2 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.3692, allocations: 36.95 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3692, allocations: 50.44 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.3692, allocations: 0 / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.0006997/0.3699, allocations: 386.7 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.37, allocations: 191.8 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.017e-05/0.3701, allocations: 93.86 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3701, allocations: 29.7 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.3702, allocations: 84.62 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3703, allocations: 111.2 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.3704, allocations: 53.69 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3705, allocations: 326.8 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3707, allocations: 83.92 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3709, allocations: 137.1 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.3713, allocations: 265 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3713, allocations: 3.938 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004683/0.3717, allocations: 289.4 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3718, allocations: 6.5 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3718, allocations: 4 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3718, allocations: 4 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.372, allocations: 55.89 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.372, allocations: 4 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3721, allocations: 19.84 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3722, allocations: 19.98 kB / 1.292 GB, free: 3.266 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.0001252/0.3723, allocations: 137.7 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.3723, allocations: 7.953 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.373, allocations: 365.3 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.373, allocations: 4 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.373, allocations: 4.125 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.373, allocations: 0 / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.3732, allocations: 236.5 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3732, allocations: 4 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3735, allocations: 55.89 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3735, allocations: 4 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3735, allocations: 8 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3735, allocations: 7.984 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3735, allocations: 0 / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005197/0.374, allocations: 353 kB / 1.293 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.3741, allocations: 47.75 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.3741, allocations: 8 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.3742, allocations: 7.984 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3743, allocations: 23.97 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3743, allocations: 15.98 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.3743, allocations: 75.28 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3743, allocations: 0 / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004094/0.3748, allocations: 103.8 kB / 1.293 GB, free: 1.734 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.001101/0.3759, allocations: 0.9646 MB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.3763, allocations: 244.2 kB / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3763, allocations: 0 / 1.294 GB, free: 496 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.3765, allocations: 131.7 kB / 1.294 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.3767, allocations: 16 kB / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.3775, allocations: 439.9 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3779, allocations: 0.7124 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.3781, allocations: 109.3 kB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.3782, allocations: 39.41 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3782, allocations: 0 / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4031, allocations: 4.447 MB / 1.3 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.3, allocations: 10.62 kB / 1.3 GB, free: 10.66 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.927333800005727]