Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00154/0.00154, allocations: 100.1 kB / 15.88 MB, free: 12 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.001532/0.001532, allocations: 196 kB / 16.79 MB, free: 6.809 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.466/1.466, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.6241, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00291/0.627, allocations: 1.748 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.7789, allocations: 146.2 MB / 1.162 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.7791, allocations: 0 / 1.162 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.7795, allocations: 41.77 kB / 1.162 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.7808, allocations: 398.3 kB / 1.162 GB, free: 13.92 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.781, allocations: 51.89 kB / 1.162 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.7813, allocations: 143.3 kB / 1.162 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.7813, allocations: 5.406 kB / 1.162 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.7814, allocations: 47.84 kB / 1.162 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.7816, allocations: 63.75 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.7817, allocations: 8 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.7828, allocations: 0.5729 MB / 1.163 GB, free: 13.03 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.7829, allocations: 19.92 kB / 1.163 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.783, allocations: 51.72 kB / 1.163 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.7836, allocations: 279.3 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7836, allocations: 0 / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7836, allocations: 0 / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7836, allocations: 0 / 1.163 GB, free: 12.69 MB / 0.92 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.000892/0.7845, allocations: 478.8 kB / 1.164 GB, free: 12.17 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.7845, allocations: 12.03 kB / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.7859, allocations: 172 kB / 1.164 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.7864, allocations: 316.7 kB / 1.164 GB, free: 11.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.7865, allocations: 158.5 kB / 1.164 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.7865, allocations: 150.6 kB / 1.165 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.7866, allocations: 105 kB / 1.165 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.7867, allocations: 75.28 kB / 1.165 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.7868, allocations: 158.6 kB / 1.165 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.7868, allocations: 158.6 kB / 1.165 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.7869, allocations: 154.5 kB / 1.165 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.7873, allocations: 0.5095 MB / 1.166 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.7875, allocations: 169.1 kB / 1.166 GB, free: 9.957 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.7875, allocations: 84.14 kB / 1.166 GB, free: 9.871 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.7876, allocations: 75.28 kB / 1.166 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/0.7876, allocations: 109.8 kB / 1.166 GB, free: 9.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7876, allocations: 0 / 1.166 GB, free: 9.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003463/0.788, allocations: 61.44 kB / 1.166 GB, free: 9.613 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.7881, allocations: 134.7 kB / 1.166 GB, free: 9.469 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.7884, allocations: 215.1 kB / 1.167 GB, free: 9.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.7885, allocations: 29.69 kB / 1.167 GB, free: 9.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.7886, allocations: 100.1 kB / 1.167 GB, free: 9.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.7886, allocations: 0 / 1.167 GB, free: 9.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.7886, allocations: 25.7 kB / 1.167 GB, free: 9.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7888, allocations: 322.8 kB / 1.167 GB, free: 8.758 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.7889, allocations: 24.86 kB / 1.167 GB, free: 8.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.7889, allocations: 15.98 kB / 1.167 GB, free: 8.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.789, allocations: 32.8 kB / 1.167 GB, free: 8.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.789, allocations: 7.875 kB / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007024/0.7897, allocations: 138.4 kB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7898, allocations: 8 kB / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7898, allocations: 0 / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008629/0.7907, allocations: 152.6 kB / 1.167 GB, free: 8.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.7908, allocations: 4 kB / 1.167 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.7931, allocations: 1.507 MB / 1.169 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.7933, allocations: 11.91 kB / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.7933, allocations: 0 / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.602e-05/0.7934, allocations: 104.1 kB / 1.169 GB, free: 6.605 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.552e-05/0.7935, allocations: 12 kB / 1.169 GB, free: 6.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.354e-05/0.7935, allocations: 24.86 kB / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.7936, allocations: 0 / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002624/0.7938, allocations: 106.3 kB / 1.169 GB, free: 6.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7938, allocations: 11.98 kB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.7939, allocations: 4 kB / 1.169 GB, free: 6.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.7942, allocations: 108.9 kB / 1.169 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.7943, allocations: 4.25 kB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.7957, allocations: 1.366 MB / 1.171 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.7958, allocations: 4.031 kB / 1.171 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.7958, allocations: 3.984 kB / 1.171 GB, free: 4.82 MB / 0.92 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.0001618/0.796, allocations: 264.1 kB / 1.171 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.7961, allocations: 120.7 kB / 1.171 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.7962, allocations: 109.5 kB / 1.171 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/0.7963, allocations: 184.2 kB / 1.171 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.158e-05/0.7963, allocations: 180.2 kB / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/0.7964, allocations: 176.3 kB / 1.172 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.7968, allocations: 457 kB / 1.172 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.7968, allocations: 101 kB / 1.172 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.7969, allocations: 105 kB / 1.172 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.879e-05/0.797, allocations: 188.2 kB / 1.172 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.797, allocations: 180.2 kB / 1.172 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.9e-05/0.7971, allocations: 180.2 kB / 1.173 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-05/0.7972, allocations: 184.3 kB / 1.173 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.7974, allocations: 315.6 kB / 1.173 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.7975, allocations: 198 kB / 1.173 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.7976, allocations: 180.2 kB / 1.173 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.7978, allocations: 113 kB / 1.174 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.7978, allocations: 180.3 kB / 1.174 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.7979, allocations: 105 kB / 1.174 GB, free: 1.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002123/0.7981, allocations: 161.1 kB / 1.174 GB, free: 1 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7981, allocations: 0 / 1.174 GB, free: 1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004541/0.7986, allocations: 71.98 kB / 1.174 GB, free: 0.9297 MB / 0.92 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.0003331/0.7989, allocations: 214.8 kB / 1.174 GB, free: 0.707 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006437/0.7996, allocations: 301.2 kB / 1.175 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7996, allocations: 4 kB / 1.175 GB, free: 392 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.7996, allocations: 7.938 kB / 1.175 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.8002, allocations: 0.538 MB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.8008, allocations: 350.2 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8011, allocations: 0.7006 MB / 1.176 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.8012, allocations: 11.44 kB / 1.176 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8012, allocations: 0 / 1.176 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.004964/0.8061, allocations: 2.384 MB / 1.178 GB, free: 12.35 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches