Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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.001799/0.001799, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00258/0.00258, allocations: 222.9 kB / 23 MB, free: 4.91 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.467/3.467, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") [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.002378/0.002378, allocations: 63.16 kB / 1.187 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.373, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003471/0.3765, allocations: 1.668 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1789/0.5554, allocations: 130.4 MB / 1.494 GB, free: 8.988 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.5555, allocations: 4 kB / 1.494 GB, free: 8.984 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.5558, allocations: 39.7 kB / 1.494 GB, free: 8.945 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.5573, allocations: 434 kB / 1.494 GB, free: 8.52 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.5575, allocations: 67.8 kB / 1.494 GB, free: 8.453 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.5578, allocations: 147.3 kB / 1.494 GB, free: 8.309 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.5578, allocations: 5.594 kB / 1.494 GB, free: 8.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 9.89e-05/0.5579, allocations: 51.83 kB / 1.494 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.5581, allocations: 67.73 kB / 1.494 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.5581, allocations: 12 kB / 1.494 GB, free: 8.172 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5592, allocations: 458.9 kB / 1.495 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.5593, allocations: 23.92 kB / 1.495 GB, free: 7.699 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.5593, allocations: 51.72 kB / 1.495 GB, free: 7.648 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008628/0.5602, allocations: 374.8 kB / 1.495 GB, free: 7.281 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5602, allocations: 4 kB / 1.495 GB, free: 7.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5602, allocations: 0 / 1.495 GB, free: 7.277 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5602, allocations: 0 / 1.495 GB, free: 7.277 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008805/0.5611, allocations: 409.1 kB / 1.496 GB, free: 6.848 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5611, allocations: 12.03 kB / 1.496 GB, free: 6.836 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.5716, allocations: 1.713 MB / 1.497 GB, free: 5.121 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.572, allocations: 254.4 kB / 1.498 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.5721, allocations: 154.5 kB / 1.498 GB, free: 4.695 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5723, allocations: 154.6 kB / 1.498 GB, free: 4.543 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.5723, allocations: 105 kB / 1.498 GB, free: 4.434 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.5724, allocations: 75.28 kB / 1.498 GB, free: 4.359 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.5725, allocations: 150.6 kB / 1.498 GB, free: 4.211 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/0.5726, allocations: 158.5 kB / 1.498 GB, free: 4.055 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.5726, allocations: 154.6 kB / 1.498 GB, free: 3.902 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.5732, allocations: 0.5013 MB / 1.499 GB, free: 3.371 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5733, allocations: 181.1 kB / 1.499 GB, free: 3.184 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.5734, allocations: 80.14 kB / 1.499 GB, free: 3.102 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.5734, allocations: 75.28 kB / 1.499 GB, free: 3.027 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.48e-05/0.5735, allocations: 109.8 kB / 1.499 GB, free: 2.91 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5735, allocations: 4 kB / 1.499 GB, free: 2.906 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0003996/0.5739, allocations: 69.52 kB / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.5739, allocations: 126.7 kB / 1.5 GB, free: 2.695 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.5743, allocations: 215.3 kB / 1.5 GB, free: 2.477 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.5743, allocations: 25.7 kB / 1.5 GB, free: 2.445 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5745, allocations: 108.1 kB / 1.5 GB, free: 2.336 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.5745, allocations: 0 / 1.5 GB, free: 2.336 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5746, allocations: 25.7 kB / 1.5 GB, free: 2.305 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5747, allocations: 326.8 kB / 1.5 GB, free: 1.977 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003946/0.5787, allocations: 0.7812 MB / 1.501 GB, free: 1.191 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00389/0.5826, allocations: 0.7804 MB / 1.502 GB, free: 420 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.5862, allocations: 0.6837 MB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5862, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.008049/0.5942, allocations: 1.563 MB / 1.504 GB, free: 14.15 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5942, allocations: 4 kB / 1.504 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5943, allocations: 4 kB / 1.504 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.5951, allocations: 152.6 kB / 1.504 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.597, allocations: 323.6 kB / 1.504 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.5993, allocations: 1.476 MB / 1.506 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.6012, allocations: 319.6 kB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.6013, allocations: 4 kB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004/0.6053, allocations: 0.8632 MB / 1.507 GB, free: 10.9 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003903/0.6092, allocations: 0.7686 MB / 1.508 GB, free: 10.13 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00354/0.6127, allocations: 0.6917 MB / 1.508 GB, free: 9.438 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.6127, allocations: 3.938 kB / 1.508 GB, free: 9.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.007785/0.6205, allocations: 1.524 MB / 1.51 GB, free: 7.898 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6205, allocations: 4 kB / 1.51 GB, free: 7.895 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.6205, allocations: 0 / 1.51 GB, free: 7.895 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.621, allocations: 108.7 kB / 1.51 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.6229, allocations: 335.5 kB / 1.51 GB, free: 7.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.6245, allocations: 1.315 MB / 1.512 GB, free: 6.039 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.6264, allocations: 327.6 kB / 1.512 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.6265, allocations: 15.86 kB / 1.512 GB, free: 5.703 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.6267, allocations: 255.5 kB / 1.512 GB, free: 5.445 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6268, allocations: 116.9 kB / 1.512 GB, free: 5.324 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.6269, allocations: 121.2 kB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-05/0.6269, allocations: 180.3 kB / 1.513 GB, free: 5.016 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-05/0.627, allocations: 184.2 kB / 1.513 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.058e-05/0.6271, allocations: 192.1 kB / 1.513 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.6274, allocations: 380.8 kB / 1.513 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.6275, allocations: 101 kB / 1.513 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.6275, allocations: 108.9 kB / 1.514 GB, free: 4.004 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.063e-05/0.6276, allocations: 180.3 kB / 1.514 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.6277, allocations: 188.2 kB / 1.514 GB, free: 3.629 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.459e-05/0.6278, allocations: 176.3 kB / 1.514 GB, free: 3.449 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.993e-05/0.6279, allocations: 176.3 kB / 1.514 GB, free: 3.27 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.6281, allocations: 323.6 kB / 1.515 GB, free: 2.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.6282, allocations: 124.8 kB / 1.515 GB, free: 2.801 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6284, allocations: 180.3 kB / 1.515 GB, free: 2.617 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.6286, allocations: 113 kB / 1.515 GB, free: 2.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6287, allocations: 184.2 kB / 1.515 GB, free: 2.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.6287, allocations: 105 kB / 1.515 GB, free: 2.203 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002595/0.629, allocations: 169.1 kB / 1.515 GB, free: 2.039 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.629, allocations: 0 / 1.515 GB, free: 2.039 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005383/0.6295, allocations: 76 kB / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003107/0.6298, allocations: 190.5 kB / 1.516 GB, free: 1.77 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008584/0.6384, allocations: 1.816 MB / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6384, allocations: 0 / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/0.6384, allocations: 0 / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.639, allocations: 487.6 kB / 1.518 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.6396, allocations: 339.4 kB / 1.518 GB, free: 15.09 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.034e-05/0.6397, allocations: 81.75 kB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6398, allocations: 19.42 kB / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of SimCode: time 8.12e-07/0.6398, allocations: 0 / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of Templates: time 0.006544/0.6464, allocations: 3.243 MB / 1.521 GB, free: 11.73 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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: 12.423494180198759]