Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 110.2 kB / 19.69 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.00152/0.00152, allocations: 213 kB / 23.01 MB, free: 4.566 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.789/2.789, allocations: 476.7 MB / 0.7714 GB, free: 4.273 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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_11_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_11_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.00207/0.00207, allocations: 63.98 kB / 1.119 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3731, allocations: 169.9 MB / 1.285 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003171/0.3763, allocations: 1.732 MB / 1.286 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2947/0.6709, allocations: 151.8 MB / 1.435 GB, free: 9.207 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.6711, allocations: 8 kB / 1.435 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.6714, allocations: 43.75 kB / 1.435 GB, free: 9.156 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.6738, allocations: 449.9 kB / 1.435 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.6741, allocations: 63.86 kB / 1.435 GB, free: 8.652 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.6745, allocations: 147.3 kB / 1.435 GB, free: 8.508 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.6746, allocations: 5.594 kB / 1.435 GB, free: 8.496 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.6747, allocations: 63.77 kB / 1.435 GB, free: 8.434 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.675, allocations: 63.75 kB / 1.435 GB, free: 8.371 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.675, allocations: 8 kB / 1.435 GB, free: 8.363 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.6768, allocations: 0.5457 MB / 1.436 GB, free: 7.816 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.6768, allocations: 23.92 kB / 1.436 GB, free: 7.793 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.6769, allocations: 63.7 kB / 1.436 GB, free: 7.73 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.678, allocations: 382.8 kB / 1.436 GB, free: 7.355 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.678, allocations: 0 / 1.436 GB, free: 7.355 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.853e-06/0.678, allocations: 0 / 1.436 GB, free: 7.355 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.678, allocations: 0 / 1.436 GB, free: 7.355 MB / 1.139 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.001188/0.6792, allocations: 421 kB / 1.437 GB, free: 6.914 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6793, allocations: 8.031 kB / 1.437 GB, free: 6.906 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.6817, allocations: 184 kB / 1.437 GB, free: 6.727 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.6823, allocations: 250.5 kB / 1.437 GB, free: 6.457 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6824, allocations: 170.4 kB / 1.437 GB, free: 6.289 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6825, allocations: 150.6 kB / 1.437 GB, free: 6.141 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.6826, allocations: 104.9 kB / 1.438 GB, free: 6.031 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.6827, allocations: 75.28 kB / 1.438 GB, free: 5.957 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.6828, allocations: 154.6 kB / 1.438 GB, free: 5.805 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.6829, allocations: 154.5 kB / 1.438 GB, free: 5.652 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.683, allocations: 154.6 kB / 1.438 GB, free: 5.5 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.6837, allocations: 492.8 kB / 1.439 GB, free: 4.977 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.6838, allocations: 177.1 kB / 1.439 GB, free: 4.793 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.6839, allocations: 88.14 kB / 1.439 GB, free: 4.703 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.684, allocations: 79.28 kB / 1.439 GB, free: 4.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.291e-05/0.684, allocations: 105.8 kB / 1.439 GB, free: 4.512 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.684, allocations: 0 / 1.439 GB, free: 4.512 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0005359/0.6846, allocations: 53.64 kB / 1.439 GB, free: 4.453 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6847, allocations: 126.7 kB / 1.439 GB, free: 4.316 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.6852, allocations: 215.8 kB / 1.439 GB, free: 4.098 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.6853, allocations: 33.64 kB / 1.439 GB, free: 4.059 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.6854, allocations: 108.1 kB / 1.439 GB, free: 3.949 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.6854, allocations: 0 / 1.439 GB, free: 3.949 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.6855, allocations: 21.7 kB / 1.439 GB, free: 3.922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.6857, allocations: 326.8 kB / 1.44 GB, free: 3.594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.6858, allocations: 16.86 kB / 1.44 GB, free: 3.574 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.6859, allocations: 23.98 kB / 1.44 GB, free: 3.551 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.686, allocations: 28.8 kB / 1.44 GB, free: 3.52 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.686, allocations: 0 / 1.44 GB, free: 3.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001058/0.6871, allocations: 134.6 kB / 1.44 GB, free: 3.379 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6871, allocations: 8 kB / 1.44 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.6871, allocations: 8 kB / 1.44 GB, free: 3.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.6885, allocations: 144.6 kB / 1.44 GB, free: 3.219 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.6886, allocations: 4 kB / 1.44 GB, free: 3.215 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.6925, allocations: 1.51 MB / 1.442 GB, free: 1.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.6928, allocations: 8.062 kB / 1.442 GB, free: 1.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.6928, allocations: 0 / 1.442 GB, free: 1.582 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002157/0.693, allocations: 108.1 kB / 1.442 GB, free: 1.473 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.044e-05/0.6931, allocations: 15.94 kB / 1.442 GB, free: 1.457 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.28e-05/0.6932, allocations: 24.8 kB / 1.442 GB, free: 1.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.6932, allocations: 4 kB / 1.442 GB, free: 1.426 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0005003/0.6937, allocations: 110.4 kB / 1.442 GB, free: 1.309 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6937, allocations: 10.12 kB / 1.442 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6937, allocations: 4 kB / 1.442 GB, free: 1.297 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007194/0.6945, allocations: 108.7 kB / 1.442 GB, free: 1.188 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.6945, allocations: 7.984 kB / 1.442 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.6968, allocations: 1.358 MB / 1.443 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.6971, allocations: 11.88 kB / 1.443 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.6971, allocations: 4 kB / 1.443 GB, free: 15.69 MB / 1.154 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.0002368/0.6973, allocations: 255.6 kB / 1.444 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6975, allocations: 112.9 kB / 1.444 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.6976, allocations: 121.3 kB / 1.444 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/0.6977, allocations: 176.3 kB / 1.444 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001324/0.6978, allocations: 180.3 kB / 1.444 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/0.698, allocations: 188.2 kB / 1.444 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.6985, allocations: 412.2 kB / 1.445 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.63e-05/0.6986, allocations: 112.9 kB / 1.445 GB, free: 14.06 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.6986, allocations: 105 kB / 1.445 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.6988, allocations: 176.3 kB / 1.445 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.6989, allocations: 184.1 kB / 1.445 GB, free: 13.58 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000128/0.699, allocations: 184.3 kB / 1.445 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001412/0.6992, allocations: 180.2 kB / 1.446 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.6994, allocations: 319.7 kB / 1.446 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.6996, allocations: 120.9 kB / 1.446 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6998, allocations: 184.2 kB / 1.446 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.7001, allocations: 112.9 kB / 1.446 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7003, allocations: 176.3 kB / 1.447 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.7004, allocations: 104.9 kB / 1.447 GB, free: 12.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004074/0.7008, allocations: 169.1 kB / 1.447 GB, free: 11.99 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7008, allocations: 0 / 1.447 GB, free: 11.99 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008138/0.7016, allocations: 71.94 kB / 1.447 GB, free: 11.92 MB / 1.154 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.0004681/0.7021, allocations: 210.6 kB / 1.447 GB, free: 11.71 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.7031, allocations: 305.3 kB / 1.447 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7031, allocations: 0 / 1.447 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.7031, allocations: 3.938 kB / 1.447 GB, free: 11.38 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.704, allocations: 483.8 kB / 1.448 GB, free: 10.91 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.7048, allocations: 327 kB / 1.448 GB, free: 10.55 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.7053, allocations: 0.6928 MB / 1.449 GB, free: 9.836 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.7054, allocations: 19.42 kB / 1.449 GB, free: 9.816 MB / 1.154 GB Notification: Performance of SimCode: time 7.21e-07/0.7054, allocations: 0 / 1.449 GB, free: 9.816 MB / 1.154 GB Notification: Performance of Templates: time 0.00597/0.7114, allocations: 2.404 MB / 1.451 GB, free: 7.438 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.429613526008325]