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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001521/0.001521, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.001478/0.001478, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 65.44 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003051/0.3245, allocations: 1.75 MB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6698/0.9943, allocations: 146.3 MB / 1.209 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.9944, allocations: 1.219 kB / 1.209 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.9947, allocations: 50.66 kB / 1.209 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.996, allocations: 405.8 kB / 1.209 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.9961, allocations: 50.64 kB / 1.209 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.9963, allocations: 148.3 kB / 1.209 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.9964, allocations: 11.17 kB / 1.209 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.9965, allocations: 56.66 kB / 1.209 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.9966, allocations: 68.69 kB / 1.209 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.9966, allocations: 9.156 kB / 1.209 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009072/0.9976, allocations: 0.5324 MB / 1.21 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.9976, allocations: 27.44 kB / 1.21 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.9977, allocations: 54.72 kB / 1.21 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.9981, allocations: 271 kB / 1.21 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9981, allocations: 0 / 1.21 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9981, allocations: 0 / 1.21 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.9981, allocations: 0 / 1.21 GB, free: 14.73 MB / 0.9356 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.0007572/0.9989, allocations: 496.7 kB / 1.211 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9989, allocations: 9.125 kB / 1.211 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/1, allocations: 173.8 kB / 1.211 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/1, allocations: 314.7 kB / 1.211 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/1.001, allocations: 159.6 kB / 1.211 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/1.001, allocations: 152.8 kB / 1.212 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/1.001, allocations: 104.9 kB / 1.212 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/1.001, allocations: 76.5 kB / 1.212 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/1.001, allocations: 154.6 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/1.001, allocations: 150.6 kB / 1.212 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/1.001, allocations: 151.6 kB / 1.212 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/1.001, allocations: 0.5066 MB / 1.213 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/1.001, allocations: 178.2 kB / 1.213 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/1.002, allocations: 84.14 kB / 1.213 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/1.002, allocations: 75.28 kB / 1.213 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.002, allocations: 106.8 kB / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/1.002, allocations: 0 / 1.213 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0003007/1.002, allocations: 65.08 kB / 1.213 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.002, allocations: 134.6 kB / 1.213 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/1.002, allocations: 213.3 kB / 1.213 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/1.002, allocations: 30.73 kB / 1.214 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/1.002, allocations: 100.7 kB / 1.214 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/1.002, allocations: 0 / 1.214 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/1.003, allocations: 24.53 kB / 1.214 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.003, allocations: 325.3 kB / 1.214 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/1.003, allocations: 22.34 kB / 1.214 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/1.003, allocations: 15.97 kB / 1.214 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/1.003, allocations: 29.28 kB / 1.214 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.003, allocations: 3.938 kB / 1.214 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006314/1.003, allocations: 143.1 kB / 1.214 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.004, allocations: 7.844 kB / 1.214 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/1.004, allocations: 0 / 1.214 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000798/1.004, allocations: 149.1 kB / 1.214 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/1.004, allocations: 8.594 kB / 1.214 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.007, allocations: 1.605 MB / 1.216 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.007, allocations: 7.125 kB / 1.216 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.007, allocations: 2.562 kB / 1.216 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.919e-05/1.007, allocations: 115.1 kB / 1.216 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.865e-05/1.007, allocations: 11.84 kB / 1.216 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.367e-05/1.007, allocations: 24.08 kB / 1.216 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.61e-07/1.007, allocations: 0 / 1.216 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002403/1.007, allocations: 111.6 kB / 1.216 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/1.007, allocations: 5.625 kB / 1.216 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/1.007, allocations: 0 / 1.216 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/1.008, allocations: 112.6 kB / 1.216 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/1.008, allocations: 7.031 kB / 1.216 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/1.009, allocations: 1.466 MB / 1.218 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/1.009, allocations: 7.281 kB / 1.218 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/1.009, allocations: 1.125 kB / 1.218 GB, free: 7.457 MB / 0.9356 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.0001455/1.009, allocations: 257.9 kB / 1.218 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/1.009, allocations: 117.4 kB / 1.218 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/1.009, allocations: 120.7 kB / 1.218 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/1.009, allocations: 181.7 kB / 1.218 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.881e-05/1.01, allocations: 185.2 kB / 1.219 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.087e-05/1.01, allocations: 181.3 kB / 1.219 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/1.01, allocations: 443.1 kB / 1.219 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-05/1.01, allocations: 112.9 kB / 1.219 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/1.01, allocations: 102.3 kB / 1.219 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/1.01, allocations: 181.5 kB / 1.219 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/1.01, allocations: 181.3 kB / 1.22 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.359e-05/1.01, allocations: 184.3 kB / 1.22 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.821e-05/1.01, allocations: 180.2 kB / 1.22 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.011, allocations: 316 kB / 1.22 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.011, allocations: 198 kB / 1.22 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/1.011, allocations: 189.3 kB / 1.221 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/1.011, allocations: 111.1 kB / 1.221 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/1.011, allocations: 177.4 kB / 1.221 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.011, allocations: 106.2 kB / 1.221 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002064/1.011, allocations: 168.2 kB / 1.221 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.011, allocations: 0 / 1.221 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004305/1.012, allocations: 66.31 kB / 1.221 GB, free: 3.711 MB / 0.9356 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.0002768/1.012, allocations: 214.8 kB / 1.221 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005513/1.013, allocations: 296.8 kB / 1.222 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.013, allocations: 3.938 kB / 1.222 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/1.013, allocations: 7.938 kB / 1.222 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/1.013, allocations: 476.7 kB / 1.222 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/1.014, allocations: 351.6 kB / 1.223 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.014, allocations: 0.6966 MB / 1.223 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/1.014, allocations: 15.81 kB / 1.223 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/1.014, allocations: 3.938 kB / 1.223 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.004555/1.018, allocations: 2.384 MB / 1.226 GB, free: 0.543 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (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) 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) Reference file matches