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.000964/0.0009642, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 462.6 MB / 0.737 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 14.8 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002315/0.2912, allocations: 1.407 MB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.4633, allocations: 144.6 MB / 1.202 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.4635, allocations: 0 / 1.202 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.4637, allocations: 51.95 kB / 1.202 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.465, allocations: 386.4 kB / 1.202 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.4652, allocations: 59.88 kB / 1.202 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.4655, allocations: 139.3 kB / 1.203 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.4655, allocations: 9.391 kB / 1.203 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.4656, allocations: 47.84 kB / 1.203 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.4658, allocations: 63.75 kB / 1.203 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.4658, allocations: 8 kB / 1.203 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.4669, allocations: 0.569 MB / 1.203 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.4669, allocations: 27.89 kB / 1.203 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.467, allocations: 73.44 kB / 1.203 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.4675, allocations: 271.4 kB / 1.204 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4675, allocations: 0 / 1.204 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4675, allocations: 0 / 1.204 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.4676, allocations: 0 / 1.204 GB, free: 0.7695 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.0006957/0.4683, allocations: 466.9 kB / 1.204 GB, free: 272 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4683, allocations: 8.031 kB / 1.204 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.4696, allocations: 187.9 kB / 1.204 GB, free: 76 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.4699, allocations: 308.2 kB / 1.204 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.47, allocations: 162.5 kB / 1.205 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.4701, allocations: 150.6 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.387e-05/0.4702, allocations: 105 kB / 1.205 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.4702, allocations: 75.28 kB / 1.205 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4703, allocations: 154.6 kB / 1.205 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.4703, allocations: 154.5 kB / 1.205 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.4704, allocations: 158.5 kB / 1.205 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.4708, allocations: 0.5134 MB / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.4709, allocations: 165.1 kB / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.4709, allocations: 80.14 kB / 1.206 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.471, allocations: 79.28 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.471, allocations: 113.8 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.083e-06/0.471, allocations: 0 / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003164/0.4714, allocations: 61.48 kB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.4714, allocations: 130.7 kB / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.4718, allocations: 219.1 kB / 1.207 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4718, allocations: 25.7 kB / 1.207 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.4719, allocations: 104.1 kB / 1.207 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.4719, allocations: 0 / 1.207 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.4719, allocations: 13.72 kB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.472, allocations: 326.8 kB / 1.207 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.4721, allocations: 15.98 kB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.4721, allocations: 19.94 kB / 1.207 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.4722, allocations: 40.86 kB / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4722, allocations: 0 / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006269/0.4729, allocations: 134.4 kB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.4729, allocations: 97 kB / 1.207 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.473, allocations: 0 / 1.207 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008107/0.4738, allocations: 156.6 kB / 1.208 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.4739, allocations: 7.938 kB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.4758, allocations: 1.503 MB / 1.209 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.476, allocations: 7.938 kB / 1.209 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.476, allocations: 0 / 1.209 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.476, allocations: 4 kB / 1.209 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002116/0.4762, allocations: 72.75 kB / 1.209 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4762, allocations: 3.938 kB / 1.209 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.4766, allocations: 116.7 kB / 1.209 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.4767, allocations: 7.984 kB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4779, allocations: 1.359 MB / 1.211 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4781, allocations: 4.031 kB / 1.211 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.4781, allocations: 7.922 kB / 1.211 GB, free: 9.016 MB / 0.9669 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.000142/0.4782, allocations: 272.3 kB / 1.211 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.4783, allocations: 109 kB / 1.211 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.4784, allocations: 121.5 kB / 1.211 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.4784, allocations: 180.2 kB / 1.211 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.986e-05/0.4785, allocations: 180.2 kB / 1.211 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-05/0.4786, allocations: 180.3 kB / 1.212 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.4788, allocations: 449.3 kB / 1.212 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/0.4789, allocations: 112.9 kB / 1.212 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.4789, allocations: 105 kB / 1.212 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.899e-05/0.479, allocations: 188.2 kB / 1.212 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.4791, allocations: 176.3 kB / 1.213 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-05/0.4792, allocations: 176.3 kB / 1.213 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-05/0.4792, allocations: 184.1 kB / 1.213 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.4794, allocations: 327.5 kB / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4795, allocations: 194 kB / 1.213 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.4796, allocations: 180.3 kB / 1.214 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4798, allocations: 112.9 kB / 1.214 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.4799, allocations: 184.3 kB / 1.214 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.4799, allocations: 104.9 kB / 1.214 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002316/0.4802, allocations: 160.1 kB / 1.214 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4802, allocations: 0 / 1.214 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004364/0.4806, allocations: 68 kB / 1.214 GB, free: 5.109 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.0002927/0.4809, allocations: 214.4 kB / 1.214 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.4815, allocations: 297.4 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4815, allocations: 0 / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.4816, allocations: 7.938 kB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.4821, allocations: 0.5418 MB / 1.215 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.4825, allocations: 363.2 kB / 1.216 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4828, allocations: 0.7006 MB / 1.216 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.4829, allocations: 11.44 kB / 1.216 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.4829, allocations: 3.938 kB / 1.216 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of Templates: time 0.004582/0.4875, allocations: 2.367 MB / 1.219 GB, free: 0.5312 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/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