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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001241/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002569, allocations: 71.83 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.89, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002983/0.8931, allocations: 1.755 MB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1629/1.056, allocations: 146.2 MB / 1.161 GB, free: 14.33 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/1.056, allocations: 0 / 1.161 GB, free: 14.33 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/1.056, allocations: 41.72 kB / 1.161 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/1.058, allocations: 398.3 kB / 1.161 GB, free: 13.9 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/1.058, allocations: 47.94 kB / 1.162 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/1.058, allocations: 139.3 kB / 1.162 GB, free: 13.72 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/1.058, allocations: 9.391 kB / 1.162 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/1.058, allocations: 55.77 kB / 1.162 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/1.058, allocations: 59.77 kB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/1.058, allocations: 8 kB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/1.059, allocations: 0.5729 MB / 1.162 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/1.06, allocations: 15.92 kB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/1.06, allocations: 59.7 kB / 1.162 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/1.06, allocations: 390.9 kB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.06, allocations: 0 / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/1.06, allocations: 0 / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.06, allocations: 4 kB / 1.163 GB, free: 12.55 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.0008443/1.061, allocations: 482.8 kB / 1.163 GB, free: 12.03 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.061, allocations: 8.031 kB / 1.163 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.062, allocations: 176 kB / 1.163 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/1.063, allocations: 308.8 kB / 1.164 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/1.063, allocations: 162.4 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.063, allocations: 154.6 kB / 1.164 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/1.063, allocations: 101 kB / 1.164 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/1.063, allocations: 79.28 kB / 1.164 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/1.063, allocations: 154.6 kB / 1.164 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/1.063, allocations: 150.6 kB / 1.164 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/1.063, allocations: 150.6 kB / 1.165 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/1.064, allocations: 0.525 MB / 1.165 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/1.064, allocations: 169.1 kB / 1.165 GB, free: 9.816 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/1.064, allocations: 84.14 kB / 1.165 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/1.064, allocations: 75.28 kB / 1.165 GB, free: 9.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.064, allocations: 105.8 kB / 1.166 GB, free: 9.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.064, allocations: 0 / 1.166 GB, free: 9.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003083/1.064, allocations: 69.42 kB / 1.166 GB, free: 9.469 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/1.064, allocations: 126.7 kB / 1.166 GB, free: 9.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.065, allocations: 219.1 kB / 1.166 GB, free: 9.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.065, allocations: 29.7 kB / 1.166 GB, free: 9.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/1.065, allocations: 100.1 kB / 1.166 GB, free: 8.973 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/1.065, allocations: 0 / 1.166 GB, free: 8.973 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/1.065, allocations: 25.72 kB / 1.166 GB, free: 8.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.065, allocations: 322.8 kB / 1.166 GB, free: 8.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/1.065, allocations: 24.84 kB / 1.166 GB, free: 8.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/1.065, allocations: 16 kB / 1.166 GB, free: 8.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.683e-05/1.065, allocations: 32.78 kB / 1.166 GB, free: 8.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.065, allocations: 0 / 1.166 GB, free: 8.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006703/1.066, allocations: 142.2 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.066, allocations: 4 kB / 1.167 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.066, allocations: 0 / 1.167 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/1.067, allocations: 156.6 kB / 1.167 GB, free: 8.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/1.067, allocations: 4 kB / 1.167 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/1.069, allocations: 1.501 MB / 1.168 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.069, allocations: 11.89 kB / 1.168 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/1.069, allocations: 0 / 1.168 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.542e-05/1.069, allocations: 104.1 kB / 1.168 GB, free: 6.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.356e-05/1.069, allocations: 15.98 kB / 1.168 GB, free: 6.457 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.282e-05/1.069, allocations: 20.86 kB / 1.168 GB, free: 6.434 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/1.069, allocations: 0 / 1.168 GB, free: 6.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002459/1.07, allocations: 114.3 kB / 1.168 GB, free: 6.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.07, allocations: 10.28 kB / 1.169 GB, free: 6.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/1.07, allocations: 0 / 1.169 GB, free: 6.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/1.07, allocations: 112.7 kB / 1.169 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/1.07, allocations: 7.938 kB / 1.169 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/1.071, allocations: 1.363 MB / 1.17 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/1.071, allocations: 4 kB / 1.17 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.071, allocations: 8.062 kB / 1.17 GB, free: 4.68 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.0001486/1.072, allocations: 256 kB / 1.17 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/1.072, allocations: 112.8 kB / 1.17 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/1.072, allocations: 121.5 kB / 1.17 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/1.072, allocations: 180.3 kB / 1.171 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-05/1.072, allocations: 184.2 kB / 1.171 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.747e-05/1.072, allocations: 180.2 kB / 1.171 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.072, allocations: 449 kB / 1.171 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.072, allocations: 105 kB / 1.171 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/1.072, allocations: 109 kB / 1.172 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/1.073, allocations: 180.2 kB / 1.172 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/1.073, allocations: 180.3 kB / 1.172 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.845e-05/1.073, allocations: 188.2 kB / 1.172 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.1e-05/1.073, allocations: 176.3 kB / 1.172 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/1.073, allocations: 315.6 kB / 1.173 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.073, allocations: 202 kB / 1.173 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/1.073, allocations: 180.2 kB / 1.173 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.073, allocations: 109 kB / 1.173 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/1.073, allocations: 176.3 kB / 1.173 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.074, allocations: 108.9 kB / 1.173 GB, free: 1.023 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002128/1.074, allocations: 169.1 kB / 1.173 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.074, allocations: 0 / 1.173 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005096/1.074, allocations: 68 kB / 1.174 GB, free: 0.793 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.0003543/1.075, allocations: 210.8 kB / 1.174 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005857/1.075, allocations: 301.2 kB / 1.174 GB, free: 260 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.075, allocations: 3.938 kB / 1.174 GB, free: 256 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/1.075, allocations: 0 / 1.174 GB, free: 256 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/1.076, allocations: 0.5515 MB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/1.076, allocations: 309.8 kB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.077, allocations: 0.6967 MB / 1.176 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.875e-05/1.077, allocations: 16.55 kB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/1.077, allocations: 15.42 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/1.077, allocations: 0 / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.007285/1.084, allocations: 2.953 MB / 1.178 GB, free: 11.69 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/jenkins/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