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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001158/0.001158, allocations: 100.8 kB / 16.35 MB, free: 5.824 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.001035/0.001035, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.63/2.63, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 65.5 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3053, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002941/0.3083, allocations: 1.703 MB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7345/1.043, allocations: 148.4 MB / 1.173 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/1.043, allocations: 4 kB / 1.173 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/1.043, allocations: 52.38 kB / 1.173 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/1.044, allocations: 432.9 kB / 1.174 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/1.045, allocations: 67.88 kB / 1.174 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/1.045, allocations: 142.8 kB / 1.174 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/1.045, allocations: 11.8 kB / 1.174 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/1.045, allocations: 59.08 kB / 1.174 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/1.045, allocations: 63.02 kB / 1.174 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/1.045, allocations: 8.656 kB / 1.174 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/1.046, allocations: 0.5087 MB / 1.175 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/1.046, allocations: 24.59 kB / 1.175 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/1.046, allocations: 54.56 kB / 1.175 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/1.047, allocations: 377.3 kB / 1.175 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.047, allocations: 0 / 1.175 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.047, allocations: 0 / 1.175 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.047, allocations: 0 / 1.175 GB, free: 10.06 MB / 0.8887 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.0007031/1.048, allocations: 485 kB / 1.176 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.048, allocations: 9.812 kB / 1.176 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.049, allocations: 178.7 kB / 1.176 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/1.049, allocations: 314.9 kB / 1.176 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/1.05, allocations: 163.6 kB / 1.176 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/1.05, allocations: 157.1 kB / 1.176 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/1.05, allocations: 101 kB / 1.176 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/1.05, allocations: 76.66 kB / 1.176 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/1.05, allocations: 150.6 kB / 1.177 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/1.05, allocations: 150.6 kB / 1.177 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/1.05, allocations: 155.7 kB / 1.177 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/1.05, allocations: 0.514 MB / 1.177 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/1.05, allocations: 169.1 kB / 1.178 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/1.05, allocations: 83.27 kB / 1.178 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/1.05, allocations: 83.28 kB / 1.178 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.05, allocations: 107 kB / 1.178 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/1.05, allocations: 0 / 1.178 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0002936/1.051, allocations: 61 kB / 1.178 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/1.051, allocations: 129.9 kB / 1.178 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/1.051, allocations: 221.9 kB / 1.178 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.051, allocations: 29.7 kB / 1.178 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/1.051, allocations: 98.41 kB / 1.178 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-06/1.051, allocations: 0 / 1.178 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/1.051, allocations: 23.72 kB / 1.178 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.051, allocations: 321.2 kB / 1.179 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/1.051, allocations: 27.83 kB / 1.179 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/1.052, allocations: 17.41 kB / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.626e-05/1.052, allocations: 25.97 kB / 1.179 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.052, allocations: 5.531 kB / 1.179 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006018/1.052, allocations: 138.5 kB / 1.179 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.052, allocations: 9.562 kB / 1.179 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.052, allocations: 2.531 kB / 1.179 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007888/1.053, allocations: 144 kB / 1.179 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/1.053, allocations: 8.281 kB / 1.179 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.055, allocations: 1.607 MB / 1.181 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/1.055, allocations: 7.094 kB / 1.181 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/1.055, allocations: 1.344 kB / 1.181 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.623e-05/1.055, allocations: 106.2 kB / 1.181 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.742e-05/1.056, allocations: 12.84 kB / 1.181 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.296e-05/1.056, allocations: 27.42 kB / 1.181 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.056, allocations: 0 / 1.181 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002566/1.056, allocations: 112.5 kB / 1.181 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.056, allocations: 12.12 kB / 1.181 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/1.056, allocations: 1.094 kB / 1.181 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/1.056, allocations: 108.1 kB / 1.181 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/1.056, allocations: 12.02 kB / 1.181 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.057, allocations: 1.462 MB / 1.182 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/1.058, allocations: 6.219 kB / 1.182 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/1.058, allocations: 1.188 kB / 1.182 GB, free: 3.074 MB / 0.8887 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.0001167/1.058, allocations: 258 kB / 1.183 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/1.058, allocations: 117.6 kB / 1.183 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/1.058, allocations: 120.7 kB / 1.183 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.777e-05/1.058, allocations: 177.5 kB / 1.183 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-05/1.058, allocations: 181.3 kB / 1.183 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/1.058, allocations: 181.5 kB / 1.183 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/1.058, allocations: 451.4 kB / 1.184 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/1.058, allocations: 101 kB / 1.184 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/1.058, allocations: 106.1 kB / 1.184 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.564e-05/1.059, allocations: 181.3 kB / 1.184 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/1.059, allocations: 185.4 kB / 1.184 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-05/1.059, allocations: 181.3 kB / 1.185 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.186e-05/1.059, allocations: 181.5 kB / 1.185 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/1.059, allocations: 310.9 kB / 1.185 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.059, allocations: 194.5 kB / 1.185 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.059, allocations: 197.2 kB / 1.185 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/1.059, allocations: 107.3 kB / 1.186 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/1.059, allocations: 181.4 kB / 1.186 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/1.059, allocations: 102.2 kB / 1.186 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001966/1.06, allocations: 163 kB / 1.186 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 4 kB / 1.186 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004384/1.06, allocations: 66.88 kB / 1.186 GB, free: 15.34 MB / 0.9044 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.0002877/1.06, allocations: 210.7 kB / 1.186 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005499/1.061, allocations: 305.5 kB / 1.187 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.061, allocations: 0 / 1.187 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-06/1.061, allocations: 1.469 kB / 1.187 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/1.061, allocations: 490.1 kB / 1.187 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/1.062, allocations: 304.5 kB / 1.187 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/1.062, allocations: 0.701 MB / 1.188 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.016e-05/1.062, allocations: 14.52 kB / 1.188 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/1.062, allocations: 15.8 kB / 1.188 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.062, allocations: 0 / 1.188 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.007236/1.07, allocations: 3.064 MB / 1.191 GB, free: 11.88 MB / 0.9044 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=480 -s gbode -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