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.0009053/0.0009055, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009595/0.0009595, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.009/3.009, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 8.219 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.347, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.001804/0.3489, allocations: 1.373 MB / 1.059 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4983, allocations: 134.8 MB / 1.191 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.4984, allocations: 0 / 1.191 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.4986, allocations: 35.81 kB / 1.191 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009012/0.4995, allocations: 318.5 kB / 1.191 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.4996, allocations: 47.83 kB / 1.191 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.4998, allocations: 123.4 kB / 1.192 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.4998, allocations: 13.67 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.4999, allocations: 51.78 kB / 1.192 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.5, allocations: 59.81 kB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.5001, allocations: 4 kB / 1.192 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.5008, allocations: 371.2 kB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.5009, allocations: 19.92 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.5009, allocations: 45.64 kB / 1.192 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.5013, allocations: 251.4 kB / 1.192 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5013, allocations: 0 / 1.192 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5013, allocations: 0 / 1.192 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5013, allocations: 0 / 1.192 GB, free: 11.47 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.0006608/0.502, allocations: 470.7 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.502, allocations: 8.031 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.5032, allocations: 179 kB / 1.193 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5036, allocations: 311 kB / 1.193 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.5037, allocations: 154.5 kB / 1.193 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.5037, allocations: 154.6 kB / 1.194 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.5038, allocations: 105 kB / 1.194 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.5039, allocations: 75.28 kB / 1.194 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.504, allocations: 154.6 kB / 1.194 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.504, allocations: 150.6 kB / 1.194 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.5041, allocations: 150.6 kB / 1.194 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.5046, allocations: 0.5134 MB / 1.195 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.5047, allocations: 173.1 kB / 1.195 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.5048, allocations: 80.14 kB / 1.195 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5048, allocations: 79.27 kB / 1.195 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.5049, allocations: 109.9 kB / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.5049, allocations: 0 / 1.195 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0003111/0.5052, allocations: 65.44 kB / 1.195 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.5053, allocations: 130.7 kB / 1.195 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/0.5056, allocations: 219.1 kB / 1.195 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5057, allocations: 25.7 kB / 1.195 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.5057, allocations: 104.1 kB / 1.196 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.5058, allocations: 4 kB / 1.196 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5058, allocations: 0 / 1.196 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5059, allocations: 318.8 kB / 1.196 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.506, allocations: 20 kB / 1.196 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.506, allocations: 15.98 kB / 1.196 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.5061, allocations: 20 kB / 1.196 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5061, allocations: 3.953 kB / 1.196 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006185/0.5067, allocations: 138.3 kB / 1.196 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.5068, allocations: 89 kB / 1.196 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.5068, allocations: 0 / 1.196 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.5076, allocations: 156.6 kB / 1.196 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.5076, allocations: 4 kB / 1.196 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.5096, allocations: 1.508 MB / 1.198 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.5098, allocations: 4.031 kB / 1.198 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.5098, allocations: 4 kB / 1.198 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.5098, allocations: 7.938 kB / 1.198 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001968/0.51, allocations: 64.83 kB / 1.198 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.51, allocations: 4 kB / 1.198 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.5104, allocations: 112.7 kB / 1.198 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.5104, allocations: 4 kB / 1.198 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.5116, allocations: 1.363 MB / 1.199 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5117, allocations: 7.984 kB / 1.199 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.5117, allocations: 0 / 1.199 GB, free: 3.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.5119, allocations: 272.4 kB / 1.2 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.512, allocations: 112.9 kB / 1.2 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.512, allocations: 117.5 kB / 1.2 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/0.5121, allocations: 180.2 kB / 1.2 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-05/0.5122, allocations: 176.4 kB / 1.2 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.5122, allocations: 184.2 kB / 1.2 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.5125, allocations: 457.1 kB / 1.201 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.5125, allocations: 101 kB / 1.201 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.5126, allocations: 104.9 kB / 1.201 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-05/0.5127, allocations: 180.3 kB / 1.201 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.5127, allocations: 188.3 kB / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.255e-05/0.5128, allocations: 176.3 kB / 1.201 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.174e-05/0.5129, allocations: 184.2 kB / 1.202 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.513, allocations: 319.6 kB / 1.202 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.5132, allocations: 201.8 kB / 1.202 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.5133, allocations: 184.2 kB / 1.202 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.5135, allocations: 109 kB / 1.202 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.5135, allocations: 184.2 kB / 1.203 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.5136, allocations: 105 kB / 1.203 GB, free: 96 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001988/0.5138, allocations: 160.1 kB / 1.203 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5138, allocations: 0 / 1.203 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004566/0.5142, allocations: 68 kB / 1.203 GB, free: 15.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/0.5145, allocations: 214.4 kB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005258/0.5151, allocations: 301.3 kB / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5151, allocations: 0 / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.5151, allocations: 0 / 1.203 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.5156, allocations: 0.5439 MB / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.516, allocations: 333.5 kB / 1.204 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.5163, allocations: 0.6967 MB / 1.205 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.126e-05/0.5164, allocations: 16.58 kB / 1.205 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.5164, allocations: 11.44 kB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.5164, allocations: 0 / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.006748/0.5232, allocations: 2.877 MB / 1.208 GB, free: 10.84 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=480 -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/jenkins/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