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.007768/0.007768, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.002237/0.002237, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.743/2.743, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3436, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.0032/0.3469, allocations: 1.683 MB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8948/1.242, allocations: 148.4 MB / 1.354 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/1.242, allocations: 1.25 kB / 1.354 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/1.242, allocations: 53.06 kB / 1.354 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/1.244, allocations: 439.1 kB / 1.355 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/1.244, allocations: 63.89 kB / 1.355 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/1.244, allocations: 142.1 kB / 1.355 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/1.244, allocations: 13.11 kB / 1.355 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/1.244, allocations: 52.16 kB / 1.355 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/1.245, allocations: 69.03 kB / 1.355 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/1.245, allocations: 8.656 kB / 1.355 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/1.246, allocations: 0.5087 MB / 1.356 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/1.246, allocations: 20.94 kB / 1.356 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/1.246, allocations: 59.92 kB / 1.356 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009303/1.247, allocations: 370.4 kB / 1.356 GB, free: 12.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.247, allocations: 5.125 kB / 1.356 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.247, allocations: 0 / 1.356 GB, free: 12.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.247, allocations: 0 / 1.356 GB, free: 12.66 MB / 1.061 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.0009092/1.248, allocations: 483.4 kB / 1.357 GB, free: 12.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.248, allocations: 9.203 kB / 1.357 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/1.249, allocations: 181.1 kB / 1.357 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/1.25, allocations: 301.9 kB / 1.357 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/1.25, allocations: 160.6 kB / 1.357 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/1.25, allocations: 159.7 kB / 1.357 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.968e-05/1.25, allocations: 102.9 kB / 1.357 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.25, allocations: 75.28 kB / 1.358 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/1.25, allocations: 155.6 kB / 1.358 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/1.25, allocations: 150.6 kB / 1.358 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/1.25, allocations: 156.3 kB / 1.358 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/1.25, allocations: 0.5087 MB / 1.358 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/1.251, allocations: 178.1 kB / 1.359 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/1.251, allocations: 80.75 kB / 1.359 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/1.251, allocations: 80.14 kB / 1.359 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.251, allocations: 111.7 kB / 1.359 GB, free: 9.922 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.251, allocations: 0 / 1.359 GB, free: 9.922 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0003375/1.251, allocations: 58.66 kB / 1.359 GB, free: 9.883 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.251, allocations: 126.7 kB / 1.359 GB, free: 9.746 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/1.252, allocations: 222.3 kB / 1.359 GB, free: 9.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.252, allocations: 31.11 kB / 1.359 GB, free: 9.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/1.252, allocations: 103.8 kB / 1.359 GB, free: 9.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/1.252, allocations: 0 / 1.359 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/1.252, allocations: 27.5 kB / 1.359 GB, free: 9.441 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.252, allocations: 319.5 kB / 1.36 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/1.252, allocations: 19.94 kB / 1.36 GB, free: 9.113 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/1.252, allocations: 18.23 kB / 1.36 GB, free: 9.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/1.252, allocations: 29.67 kB / 1.36 GB, free: 9.086 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.252, allocations: 7.938 kB / 1.36 GB, free: 9.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006016/1.253, allocations: 145.5 kB / 1.36 GB, free: 9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.253, allocations: 5.156 kB / 1.36 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/1.253, allocations: 0 / 1.36 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007574/1.253, allocations: 149 kB / 1.36 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/1.253, allocations: 5.219 kB / 1.36 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/1.256, allocations: 1.606 MB / 1.362 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/1.256, allocations: 7.25 kB / 1.362 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.256, allocations: 10.94 kB / 1.362 GB, free: 7.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.121e-05/1.256, allocations: 101.1 kB / 1.362 GB, free: 7.355 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.23e-05/1.256, allocations: 14.08 kB / 1.362 GB, free: 7.352 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.772e-05/1.256, allocations: 28.67 kB / 1.362 GB, free: 7.332 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/1.256, allocations: 0 / 1.362 GB, free: 7.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002425/1.256, allocations: 108.6 kB / 1.362 GB, free: 7.262 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.256, allocations: 5.375 kB / 1.362 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/1.256, allocations: 3.688 kB / 1.362 GB, free: 7.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/1.257, allocations: 116.1 kB / 1.362 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/1.257, allocations: 4.375 kB / 1.362 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/1.258, allocations: 1.461 MB / 1.363 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.258, allocations: 4.844 kB / 1.363 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.258, allocations: 2.344 kB / 1.363 GB, free: 5.781 MB / 1.061 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.0001312/1.258, allocations: 256.9 kB / 1.364 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/1.258, allocations: 114.6 kB / 1.364 GB, free: 5.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/1.259, allocations: 119.3 kB / 1.364 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/1.259, allocations: 177.9 kB / 1.364 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.153e-05/1.259, allocations: 186.1 kB / 1.364 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-05/1.259, allocations: 177.8 kB / 1.364 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/1.259, allocations: 453.9 kB / 1.365 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.259, allocations: 104.9 kB / 1.365 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/1.259, allocations: 102.3 kB / 1.365 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-05/1.259, allocations: 181.6 kB / 1.365 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/1.259, allocations: 182.3 kB / 1.365 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.474e-05/1.259, allocations: 177.4 kB / 1.366 GB, free: 3.523 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-05/1.259, allocations: 185.7 kB / 1.366 GB, free: 3.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.26, allocations: 321.6 kB / 1.366 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.26, allocations: 199.6 kB / 1.366 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/1.26, allocations: 189.7 kB / 1.366 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.26, allocations: 111 kB / 1.367 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/1.26, allocations: 177.6 kB / 1.367 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/1.26, allocations: 110.4 kB / 1.367 GB, free: 2.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002068/1.26, allocations: 163 kB / 1.367 GB, free: 2.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.26, allocations: 0 / 1.367 GB, free: 2.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005009/1.261, allocations: 68.2 kB / 1.367 GB, free: 2.094 MB / 1.061 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.0002964/1.261, allocations: 207 kB / 1.367 GB, free: 1.922 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006379/1.262, allocations: 302.3 kB / 1.368 GB, free: 1.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.262, allocations: 4 kB / 1.368 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/1.262, allocations: 1.719 kB / 1.368 GB, free: 1.668 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/1.262, allocations: 486.1 kB / 1.368 GB, free: 1.211 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/1.263, allocations: 301.4 kB / 1.368 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.263, allocations: 0.6964 MB / 1.369 GB, free: 280 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.751e-05/1.263, allocations: 12.23 kB / 1.369 GB, free: 276 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/1.264, allocations: 14.44 kB / 1.369 GB, free: 272 kB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.264, allocations: 4 kB / 1.369 GB, free: 268 kB / 1.061 GB Notification: Performance of Templates: time 0.007437/1.271, allocations: 3.13 MB / 1.372 GB, free: 0 / 1.061 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