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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 108.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001856, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 482.4 MB / 0.755 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 68.64 kB / 0.924 GB, free: 264 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8063, allocations: 162.2 MB / 1.082 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002951/0.8093, allocations: 1.737 MB / 1.084 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.003, allocations: 146.3 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/1.003, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/1.004, allocations: 53.7 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/1.005, allocations: 398.4 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/1.005, allocations: 59.88 kB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/1.005, allocations: 135.4 kB / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/1.005, allocations: 9.406 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/1.005, allocations: 59.77 kB / 1.228 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/1.006, allocations: 63.75 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/1.006, allocations: 12 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009785/1.007, allocations: 0.5339 MB / 1.228 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/1.007, allocations: 23.91 kB / 1.228 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/1.007, allocations: 59.73 kB / 1.228 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/1.007, allocations: 279.3 kB / 1.229 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.007, allocations: 3.984 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/1.007, allocations: 0 / 1.229 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.419e-06/1.007, allocations: 0 / 1.229 GB, free: 8.957 MB / 0.9512 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.000723/1.008, allocations: 476.6 kB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/1.008, allocations: 12.03 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.009, allocations: 176 kB / 1.229 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/1.009, allocations: 308.2 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/1.01, allocations: 162.4 kB / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/1.01, allocations: 162.5 kB / 1.23 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.086e-05/1.01, allocations: 101 kB / 1.23 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/1.01, allocations: 79.27 kB / 1.23 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/1.01, allocations: 154.5 kB / 1.23 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/1.01, allocations: 150.6 kB / 1.23 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/1.01, allocations: 158.6 kB / 1.23 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/1.01, allocations: 0.5134 MB / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/1.011, allocations: 173.1 kB / 1.231 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/1.011, allocations: 80.14 kB / 1.231 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/1.011, allocations: 79.28 kB / 1.231 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.011, allocations: 105.8 kB / 1.231 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/1.011, allocations: 0 / 1.231 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0002996/1.011, allocations: 61.53 kB / 1.231 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/1.011, allocations: 126.7 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/1.011, allocations: 220.6 kB / 1.232 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.011, allocations: 25.7 kB / 1.232 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/1.012, allocations: 108 kB / 1.232 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/1.012, allocations: 0 / 1.232 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/1.012, allocations: 25.7 kB / 1.232 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.012, allocations: 318.8 kB / 1.232 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/1.012, allocations: 28.86 kB / 1.232 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/1.012, allocations: 19.98 kB / 1.232 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/1.012, allocations: 32.8 kB / 1.232 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.012, allocations: 0 / 1.232 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000656/1.013, allocations: 130.3 kB / 1.232 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.013, allocations: 8 kB / 1.232 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.013, allocations: 0 / 1.232 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008485/1.014, allocations: 148.6 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/1.014, allocations: 8 kB / 1.233 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.016, allocations: 1.622 MB / 1.234 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/1.016, allocations: 3.906 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/1.016, allocations: 4 kB / 1.234 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.331e-05/1.016, allocations: 100.1 kB / 1.234 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.725e-05/1.016, allocations: 16.19 kB / 1.234 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.233e-05/1.016, allocations: 36.91 kB / 1.234 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/1.016, allocations: 0 / 1.234 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002479/1.017, allocations: 114.3 kB / 1.234 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.017, allocations: 4 kB / 1.234 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-06/1.017, allocations: 0 / 1.234 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/1.017, allocations: 108.7 kB / 1.235 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/1.017, allocations: 4 kB / 1.235 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/1.018, allocations: 1.469 MB / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.019, allocations: 4.031 kB / 1.236 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.019, allocations: 4 kB / 1.236 GB, free: 0.8555 MB / 0.9512 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.0001481/1.019, allocations: 252.3 kB / 1.236 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/1.019, allocations: 116.9 kB / 1.236 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/1.019, allocations: 125.5 kB / 1.236 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.181e-05/1.019, allocations: 176.3 kB / 1.237 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/1.019, allocations: 180.2 kB / 1.237 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.469e-05/1.019, allocations: 180.2 kB / 1.237 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/1.02, allocations: 449.1 kB / 1.237 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/1.02, allocations: 101 kB / 1.237 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/1.02, allocations: 109 kB / 1.238 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.796e-05/1.02, allocations: 184.2 kB / 1.238 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-05/1.02, allocations: 184.2 kB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.644e-05/1.02, allocations: 188.2 kB / 1.238 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.668e-05/1.02, allocations: 176.3 kB / 1.238 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/1.02, allocations: 319.6 kB / 1.239 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.02, allocations: 198.2 kB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/1.02, allocations: 188.1 kB / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.021, allocations: 101 kB / 1.239 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/1.021, allocations: 184.3 kB / 1.239 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/1.021, allocations: 116.9 kB / 1.239 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002104/1.021, allocations: 160.3 kB / 1.239 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.021, allocations: 3.938 kB / 1.239 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004473/1.022, allocations: 67.98 kB / 1.24 GB, free: 12.96 MB / 0.9669 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.0002988/1.022, allocations: 214.4 kB / 1.24 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000596/1.022, allocations: 301.3 kB / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.022, allocations: 0 / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-06/1.022, allocations: 3.984 kB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/1.023, allocations: 478.3 kB / 1.241 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/1.024, allocations: 344.2 kB / 1.241 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/1.024, allocations: 0.7006 MB / 1.242 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/1.024, allocations: 11.44 kB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.024, allocations: 0 / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.005012/1.029, allocations: 2.381 MB / 1.244 GB, free: 8.48 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) 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) Reference file matches