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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001584/0.001584, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002099/0.002099, allocations: 195 kB / 16.14 MB, free: 6.656 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.548/1.548, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7342 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.61 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00336/0.3246, allocations: 1.754 MB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4865, allocations: 146.2 MB / 1.197 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.4866, allocations: 0 / 1.197 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.4869, allocations: 47.95 kB / 1.197 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.488, allocations: 386.4 kB / 1.197 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4882, allocations: 55.88 kB / 1.197 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.4884, allocations: 143.3 kB / 1.197 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.4884, allocations: 5.406 kB / 1.197 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.4885, allocations: 51.8 kB / 1.197 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.4887, allocations: 63.73 kB / 1.197 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.4887, allocations: 8 kB / 1.197 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009421/0.4897, allocations: 0.5729 MB / 1.198 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.4897, allocations: 19.92 kB / 1.198 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.4898, allocations: 55.66 kB / 1.198 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.4903, allocations: 391 kB / 1.198 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4904, allocations: 4 kB / 1.198 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4904, allocations: 0 / 1.198 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.4904, allocations: 4 kB / 1.198 GB, free: 2.645 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.000754/0.4911, allocations: 474.8 kB / 1.199 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4912, allocations: 8.031 kB / 1.199 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.4924, allocations: 176 kB / 1.199 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.4928, allocations: 312.2 kB / 1.199 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.4929, allocations: 158.5 kB / 1.199 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.4929, allocations: 154.6 kB / 1.2 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.493, allocations: 101 kB / 1.2 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.493, allocations: 79.28 kB / 1.2 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.4931, allocations: 154.6 kB / 1.2 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.4932, allocations: 154.5 kB / 1.2 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.4932, allocations: 150.6 kB / 1.2 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.4937, allocations: 0.5172 MB / 1.201 GB, free: 100 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4938, allocations: 173.1 kB / 1.201 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.4939, allocations: 80.14 kB / 1.201 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.4939, allocations: 79.22 kB / 1.201 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.494, allocations: 105.8 kB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.494, allocations: 0 / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002995/0.4943, allocations: 65.5 kB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4944, allocations: 130.7 kB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.4947, allocations: 219.1 kB / 1.201 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.4947, allocations: 25.7 kB / 1.201 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.4948, allocations: 100.1 kB / 1.202 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.4948, allocations: 4 kB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.4948, allocations: 25.7 kB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.495, allocations: 318.8 kB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.495, allocations: 20.86 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.4951, allocations: 23.92 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.4952, allocations: 28.8 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4952, allocations: 4 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006517/0.4958, allocations: 134.3 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4959, allocations: 7.984 kB / 1.202 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4959, allocations: 7.922 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008133/0.4967, allocations: 148.6 kB / 1.202 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.4968, allocations: 7.984 kB / 1.202 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.499, allocations: 1.502 MB / 1.204 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.4992, allocations: 16.03 kB / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4993, allocations: 0 / 1.204 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.488e-05/0.4994, allocations: 101.7 kB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.219e-05/0.4994, allocations: 16 kB / 1.204 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.972e-05/0.4995, allocations: 24.86 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.4995, allocations: 7.938 kB / 1.204 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002484/0.4997, allocations: 106.4 kB / 1.204 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4997, allocations: 4 kB / 1.204 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.4997, allocations: 3.984 kB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/0.5001, allocations: 108.7 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.5002, allocations: 11.92 kB / 1.204 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.5013, allocations: 1.351 MB / 1.205 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.5015, allocations: 8.078 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.5015, allocations: 4 kB / 1.205 GB, free: 10.79 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.0001313/0.5016, allocations: 267.4 kB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.5017, allocations: 112.8 kB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.5017, allocations: 117.6 kB / 1.206 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/0.5018, allocations: 184.2 kB / 1.206 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.77e-05/0.5019, allocations: 184.3 kB / 1.206 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.886e-05/0.502, allocations: 176.3 kB / 1.206 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.5022, allocations: 449 kB / 1.207 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/0.5023, allocations: 101 kB / 1.207 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.5023, allocations: 112.9 kB / 1.207 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.168e-05/0.5024, allocations: 176.3 kB / 1.207 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.5025, allocations: 184.4 kB / 1.207 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001005/0.5026, allocations: 176.3 kB / 1.208 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.145e-05/0.5026, allocations: 188.3 kB / 1.208 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.5028, allocations: 315.6 kB / 1.208 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5029, allocations: 210 kB / 1.208 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.337e-05/0.503, allocations: 180.2 kB / 1.208 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.5032, allocations: 109 kB / 1.209 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.5033, allocations: 184.2 kB / 1.209 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.5033, allocations: 101 kB / 1.209 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002061/0.5035, allocations: 173.1 kB / 1.209 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5035, allocations: 0 / 1.209 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004615/0.504, allocations: 64 kB / 1.209 GB, free: 6.883 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.0002935/0.5043, allocations: 212.8 kB / 1.209 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.5049, allocations: 305.2 kB / 1.21 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5049, allocations: 3.938 kB / 1.21 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.5049, allocations: 0 / 1.21 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.5055, allocations: 0.5419 MB / 1.21 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.5059, allocations: 311.5 kB / 1.21 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5062, allocations: 0.6967 MB / 1.211 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.5063, allocations: 16.55 kB / 1.211 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.5064, allocations: 11.44 kB / 1.211 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.5064, allocations: 0 / 1.211 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.006232/0.5126, allocations: 2.956 MB / 1.214 GB, free: 1.793 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