Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 182.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 223.1 MB / 0.7992 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 101 kB / 0.9396 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 11.25 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.838/4.166, allocations: 1.716 GB / 2.945 GB, free: 251.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/4.167, allocations: 101.7 kB / 2.945 GB, free: 251.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08846/4.255, allocations: 34.86 MB / 2.979 GB, free: 216.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.062e-06/4.255, allocations: 0 / 2.979 GB, free: 216.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.765e-06/4.255, allocations: 4 kB / 2.979 GB, free: 216.5 MB / 1.167 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.0005843/4.256, allocations: 479.1 kB / 2.98 GB, free: 216 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/4.256, allocations: 12.56 kB / 2.98 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/4.257, allocations: 175.1 kB / 2.98 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/4.257, allocations: 303 kB / 2.98 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/4.257, allocations: 158.5 kB / 2.98 GB, free: 215.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/4.257, allocations: 158.6 kB / 2.98 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.706e-05/4.257, allocations: 109 kB / 2.98 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/4.257, allocations: 79.28 kB / 2.981 GB, free: 215 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/4.257, allocations: 154.5 kB / 2.981 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/4.257, allocations: 150.6 kB / 2.981 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/4.257, allocations: 154.6 kB / 2.981 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/4.258, allocations: 0.5134 MB / 2.981 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/4.258, allocations: 165.1 kB / 2.982 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/4.258, allocations: 75.28 kB / 2.982 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/4.258, allocations: 105.8 kB / 2.982 GB, free: 213.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/4.258, allocations: 4 kB / 2.982 GB, free: 213.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0002584/4.258, allocations: 65.44 kB / 2.982 GB, free: 213.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/4.258, allocations: 130.6 kB / 2.982 GB, free: 213.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/4.258, allocations: 210 kB / 2.982 GB, free: 213.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/4.258, allocations: 25.7 kB / 2.982 GB, free: 213.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/4.259, allocations: 108.1 kB / 2.982 GB, free: 213 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/4.259, allocations: 4 kB / 2.982 GB, free: 213 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/4.259, allocations: 0 / 2.982 GB, free: 213 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/4.259, allocations: 314.8 kB / 2.983 GB, free: 212.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/4.259, allocations: 15.98 kB / 2.983 GB, free: 212.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/4.259, allocations: 16 kB / 2.983 GB, free: 212.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/4.259, allocations: 20 kB / 2.983 GB, free: 212.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/4.259, allocations: 0 / 2.983 GB, free: 212.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004507/4.259, allocations: 122.3 kB / 2.983 GB, free: 212.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/4.259, allocations: 102 kB / 2.983 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/4.259, allocations: 0 / 2.983 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/4.26, allocations: 136.7 kB / 2.983 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/4.26, allocations: 4 kB / 2.983 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/4.26, allocations: 0.5639 MB / 2.984 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/4.26, allocations: 7.969 kB / 2.984 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/4.26, allocations: 4.062 kB / 2.984 GB, free: 211.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/4.26, allocations: 4 kB / 2.984 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001639/4.261, allocations: 68.78 kB / 2.984 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/4.261, allocations: 0 / 2.984 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/4.261, allocations: 112.7 kB / 2.984 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/4.261, allocations: 15.92 kB / 2.984 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/4.262, allocations: 1.367 MB / 2.985 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/4.262, allocations: 8.047 kB / 2.985 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/4.262, allocations: 7.969 kB / 2.985 GB, free: 210 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001084/4.262, allocations: 270 kB / 2.985 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/4.262, allocations: 108.9 kB / 2.985 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/4.262, allocations: 117.5 kB / 2.986 GB, free: 209.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/4.262, allocations: 180.2 kB / 2.986 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/4.262, allocations: 180.4 kB / 2.986 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.502e-05/4.262, allocations: 188.2 kB / 2.986 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/4.263, allocations: 445.1 kB / 2.987 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/4.263, allocations: 101 kB / 2.987 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/4.263, allocations: 112.9 kB / 2.987 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.695e-05/4.263, allocations: 180.3 kB / 2.987 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/4.263, allocations: 184.2 kB / 2.987 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-05/4.263, allocations: 176.3 kB / 2.987 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-05/4.263, allocations: 184.2 kB / 2.987 GB, free: 207.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/4.263, allocations: 323.6 kB / 2.988 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/4.263, allocations: 197.9 kB / 2.988 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/4.263, allocations: 177.2 kB / 2.988 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/4.263, allocations: 116.8 kB / 2.988 GB, free: 206.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/4.263, allocations: 180.3 kB / 2.988 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/4.263, allocations: 101 kB / 2.988 GB, free: 206.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001524/4.264, allocations: 165.2 kB / 2.989 GB, free: 206.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.21e-07/4.264, allocations: 0 / 2.989 GB, free: 206.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005514/4.264, allocations: 107.9 kB / 2.989 GB, free: 206 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008335/4.265, allocations: 0.6963 MB / 2.989 GB, free: 205.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004481/4.265, allocations: 195.2 kB / 2.99 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/4.265, allocations: 0 / 2.99 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/4.265, allocations: 0 / 2.99 GB, free: 205.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/4.266, allocations: 0.546 MB / 2.99 GB, free: 204.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/4.266, allocations: 324.9 kB / 2.99 GB, free: 204.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/4.266, allocations: 0.7009 MB / 2.991 GB, free: 203.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.813e-05/4.266, allocations: 20.48 kB / 2.991 GB, free: 203.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/4.266, allocations: 15.38 kB / 2.991 GB, free: 203.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.6e-07/4.266, allocations: 0 / 2.991 GB, free: 203.5 MB / 1.167 GB Notification: Performance of Templates: time 0.01237/4.279, allocations: 10.05 MB / 3.001 GB, free: 193.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches