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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001273/0.001272, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001402/0.001403, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.666/2.666, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8949/0.8952, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002181/0.8975, allocations: 1.339 MB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1729/1.07, allocations: 125.5 MB / 1.145 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/1.071, allocations: 4 kB / 1.145 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/1.071, allocations: 39.86 kB / 1.145 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008577/1.072, allocations: 326.9 kB / 1.145 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000108/1.072, allocations: 47.89 kB / 1.145 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/1.072, allocations: 95.78 kB / 1.145 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/1.072, allocations: 15.36 kB / 1.145 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/1.072, allocations: 47.84 kB / 1.145 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/1.072, allocations: 59.81 kB / 1.145 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/1.072, allocations: 4 kB / 1.145 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/1.073, allocations: 375.4 kB / 1.146 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/1.073, allocations: 27.91 kB / 1.146 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/1.073, allocations: 41.64 kB / 1.146 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/1.073, allocations: 231.4 kB / 1.146 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/1.073, allocations: 0 / 1.146 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.073, allocations: 0 / 1.146 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.073, allocations: 0 / 1.146 GB, free: 0.6602 MB / 0.8887 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.0006937/1.074, allocations: 466.6 kB / 1.146 GB, free: 160 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/1.074, allocations: 15.98 kB / 1.146 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/1.075, allocations: 179 kB / 1.147 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/1.076, allocations: 307.4 kB / 1.147 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/1.076, allocations: 162.6 kB / 1.147 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/1.076, allocations: 150.6 kB / 1.147 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/1.076, allocations: 108.9 kB / 1.147 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.076, allocations: 75.28 kB / 1.147 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/1.076, allocations: 154.6 kB / 1.147 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/1.076, allocations: 150.6 kB / 1.148 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/1.076, allocations: 154.6 kB / 1.148 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/1.076, allocations: 0.5096 MB / 1.148 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/1.077, allocations: 177 kB / 1.148 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/1.077, allocations: 75.28 kB / 1.149 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/1.077, allocations: 121.8 kB / 1.149 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/1.077, allocations: 0 / 1.149 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0002752/1.077, allocations: 49.59 kB / 1.149 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/1.077, allocations: 130.7 kB / 1.149 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/1.077, allocations: 223.1 kB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.077, allocations: 29.7 kB / 1.149 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/1.077, allocations: 96.14 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/1.077, allocations: 0 / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.077, allocations: 0 / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.078, allocations: 326.8 kB / 1.149 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/1.078, allocations: 19.92 kB / 1.149 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/1.078, allocations: 16 kB / 1.149 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/1.078, allocations: 19.94 kB / 1.149 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.078, allocations: 4 kB / 1.15 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005532/1.078, allocations: 130.3 kB / 1.15 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/1.078, allocations: 96.98 kB / 1.15 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1.078, allocations: 8 kB / 1.15 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008016/1.079, allocations: 144.6 kB / 1.15 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/1.079, allocations: 4 kB / 1.15 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/1.081, allocations: 1.506 MB / 1.151 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.081, allocations: 15.98 kB / 1.151 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/1.081, allocations: 4 kB / 1.151 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/1.081, allocations: 4 kB / 1.151 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001976/1.082, allocations: 72.75 kB / 1.151 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/1.082, allocations: 0 / 1.151 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/1.082, allocations: 112.7 kB / 1.152 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/1.082, allocations: 8.234 kB / 1.152 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/1.083, allocations: 1.363 MB / 1.153 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/1.083, allocations: 11.92 kB / 1.153 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/1.083, allocations: 0 / 1.153 GB, free: 9.031 MB / 0.9044 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.0001278/1.083, allocations: 268.4 kB / 1.153 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/1.084, allocations: 120.8 kB / 1.153 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/1.084, allocations: 113.5 kB / 1.153 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.047e-05/1.084, allocations: 184.3 kB / 1.154 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-05/1.084, allocations: 180.2 kB / 1.154 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.528e-05/1.084, allocations: 180.3 kB / 1.154 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.084, allocations: 449.2 kB / 1.154 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/1.084, allocations: 109 kB / 1.154 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/1.084, allocations: 109 kB / 1.155 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.821e-05/1.084, allocations: 180.2 kB / 1.155 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/1.084, allocations: 180.3 kB / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.453e-05/1.084, allocations: 180.2 kB / 1.155 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.697e-05/1.084, allocations: 176.3 kB / 1.155 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/1.085, allocations: 327.6 kB / 1.156 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.085, allocations: 197.9 kB / 1.156 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/1.085, allocations: 184.2 kB / 1.156 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/1.085, allocations: 109 kB / 1.156 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.085, allocations: 180.2 kB / 1.156 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/1.085, allocations: 108.9 kB / 1.156 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001881/1.085, allocations: 169.1 kB / 1.156 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 0 / 1.156 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000435/1.086, allocations: 64 kB / 1.156 GB, free: 5.121 MB / 0.9044 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.000269/1.086, allocations: 210.4 kB / 1.157 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005341/1.087, allocations: 301.3 kB / 1.157 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.087, allocations: 0 / 1.157 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/1.087, allocations: 0 / 1.157 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/1.087, allocations: 0.546 MB / 1.158 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/1.087, allocations: 322.7 kB / 1.158 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.088, allocations: 0.7006 MB / 1.158 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.8e-05/1.088, allocations: 28.44 kB / 1.159 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/1.088, allocations: 11.44 kB / 1.159 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of SimCode: time 4.7e-07/1.088, allocations: 0 / 1.159 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of Templates: time 0.0066/1.094, allocations: 2.862 MB / 1.161 GB, free: 100 kB / 0.9044 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","../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches