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.001373/0.001373, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001622/0.001622, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.349/3.349, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002042/0.002042, allocations: 66.41 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4026, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003138/0.4057, allocations: 1.719 MB / 1.356 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.5967, allocations: 151.8 MB / 1.504 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.5967, allocations: 0 / 1.504 GB, free: 13.9 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.597, allocations: 47.67 kB / 1.504 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.5983, allocations: 458 kB / 1.504 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.5985, allocations: 63.81 kB / 1.505 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.5987, allocations: 151.3 kB / 1.505 GB, free: 13.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.5988, allocations: 9.578 kB / 1.505 GB, free: 13.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.5988, allocations: 47.8 kB / 1.505 GB, free: 13.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.599, allocations: 71.8 kB / 1.505 GB, free: 13.06 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.599, allocations: 8 kB / 1.505 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.6001, allocations: 0.5379 MB / 1.505 GB, free: 12.52 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.6001, allocations: 27.84 kB / 1.505 GB, free: 12.49 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.6002, allocations: 55.72 kB / 1.505 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.6008, allocations: 386.8 kB / 1.506 GB, free: 12.05 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6008, allocations: 7.938 kB / 1.506 GB, free: 12.05 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6008, allocations: 4 kB / 1.506 GB, free: 12.04 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6008, allocations: 0 / 1.506 GB, free: 12.04 MB / 1.201 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.0007372/0.6015, allocations: 413 kB / 1.506 GB, free: 11.61 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6016, allocations: 8.031 kB / 1.506 GB, free: 11.6 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.6117, allocations: 1.709 MB / 1.508 GB, free: 9.891 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.6122, allocations: 258.3 kB / 1.508 GB, free: 9.613 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.6122, allocations: 158.5 kB / 1.508 GB, free: 9.457 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.6123, allocations: 154.6 kB / 1.508 GB, free: 9.305 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.6124, allocations: 101 kB / 1.509 GB, free: 9.199 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.6125, allocations: 83.27 kB / 1.509 GB, free: 9.117 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.6125, allocations: 162.5 kB / 1.509 GB, free: 8.957 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.6126, allocations: 150.6 kB / 1.509 GB, free: 8.809 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.6127, allocations: 150.6 kB / 1.509 GB, free: 8.66 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.6132, allocations: 0.5865 MB / 1.51 GB, free: 8.031 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.6133, allocations: 173.2 kB / 1.51 GB, free: 7.852 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.6134, allocations: 80.14 kB / 1.51 GB, free: 7.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.6134, allocations: 87.2 kB / 1.51 GB, free: 7.684 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.6135, allocations: 105.8 kB / 1.51 GB, free: 7.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.6135, allocations: 0 / 1.51 GB, free: 7.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0003663/0.6138, allocations: 65.59 kB / 1.51 GB, free: 7.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6139, allocations: 126.7 kB / 1.51 GB, free: 7.363 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.6142, allocations: 215.2 kB / 1.51 GB, free: 7.145 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.6143, allocations: 25.7 kB / 1.51 GB, free: 7.113 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.6144, allocations: 108.1 kB / 1.511 GB, free: 7.004 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.6144, allocations: 0 / 1.511 GB, free: 7.004 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6145, allocations: 33.69 kB / 1.511 GB, free: 6.965 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6146, allocations: 318.8 kB / 1.511 GB, free: 6.645 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/0.6186, allocations: 0.7812 MB / 1.512 GB, free: 5.859 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/0.6223, allocations: 0.7842 MB / 1.512 GB, free: 5.074 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.6259, allocations: 0.6836 MB / 1.513 GB, free: 4.387 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.6259, allocations: 0 / 1.513 GB, free: 4.387 MB / 1.201 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00788/0.6338, allocations: 1.555 MB / 1.515 GB, free: 2.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6338, allocations: 4 kB / 1.515 GB, free: 2.816 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6338, allocations: 0 / 1.515 GB, free: 2.816 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/0.6347, allocations: 152.6 kB / 1.515 GB, free: 2.664 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.6366, allocations: 331.6 kB / 1.515 GB, free: 2.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.6389, allocations: 1.511 MB / 1.517 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.6409, allocations: 323.5 kB / 1.517 GB, free: 408 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.6409, allocations: 7.984 kB / 1.517 GB, free: 400 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003934/0.6449, allocations: 0.8593 MB / 1.518 GB, free: 15.53 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003773/0.6487, allocations: 0.7764 MB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003506/0.6522, allocations: 0.6836 MB / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.6522, allocations: 0 / 1.519 GB, free: 14.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.007577/0.6597, allocations: 1.524 MB / 1.521 GB, free: 12.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6598, allocations: 5.719 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.6598, allocations: 4 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004382/0.6602, allocations: 112.7 kB / 1.521 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.6621, allocations: 327.5 kB / 1.521 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.6635, allocations: 1.358 MB / 1.522 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.6655, allocations: 327.6 kB / 1.523 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.6655, allocations: 4 kB / 1.523 GB, free: 10.29 MB / 1.217 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.0001835/0.6657, allocations: 271.4 kB / 1.523 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/0.6658, allocations: 108.9 kB / 1.523 GB, free: 9.902 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.6659, allocations: 117.2 kB / 1.523 GB, free: 9.773 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-05/0.666, allocations: 196.2 kB / 1.523 GB, free: 9.574 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/0.666, allocations: 176.3 kB / 1.524 GB, free: 9.395 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.947e-05/0.6661, allocations: 180.2 kB / 1.524 GB, free: 9.211 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.6664, allocations: 416.2 kB / 1.524 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.6665, allocations: 101 kB / 1.524 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.6665, allocations: 108.9 kB / 1.524 GB, free: 8.535 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/0.6666, allocations: 184.3 kB / 1.524 GB, free: 8.348 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.6667, allocations: 188.1 kB / 1.525 GB, free: 8.156 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.161e-05/0.6668, allocations: 176.3 kB / 1.525 GB, free: 7.977 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.619e-05/0.6669, allocations: 184.2 kB / 1.525 GB, free: 7.789 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.667, allocations: 315.7 kB / 1.525 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.6671, allocations: 124.9 kB / 1.525 GB, free: 7.328 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/0.6672, allocations: 180.2 kB / 1.526 GB, free: 7.145 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.6674, allocations: 105 kB / 1.526 GB, free: 7.035 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.6675, allocations: 184.2 kB / 1.526 GB, free: 6.848 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.6676, allocations: 109 kB / 1.526 GB, free: 6.734 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002178/0.6678, allocations: 157.2 kB / 1.526 GB, free: 6.582 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6678, allocations: 0 / 1.526 GB, free: 6.582 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004988/0.6683, allocations: 83.94 kB / 1.526 GB, free: 6.5 MB / 1.217 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.0002695/0.6685, allocations: 190.5 kB / 1.526 GB, free: 6.305 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008354/0.6769, allocations: 1.828 MB / 1.528 GB, free: 4.449 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6769, allocations: 0 / 1.528 GB, free: 4.449 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-06/0.6769, allocations: 0 / 1.528 GB, free: 4.449 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.6775, allocations: 479.9 kB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.678, allocations: 335 kB / 1.529 GB, free: 3.617 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6784, allocations: 0.7006 MB / 1.53 GB, free: 2.891 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.6785, allocations: 19.42 kB / 1.53 GB, free: 2.875 MB / 1.217 GB Notification: Performance of SimCode: time 1.082e-06/0.6785, allocations: 4 kB / 1.53 GB, free: 2.871 MB / 1.217 GB Notification: Performance of Templates: time 0.005928/0.6844, allocations: 3.193 MB / 1.533 GB, free: 15.69 MB / 1.233 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.557489961007377]