Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00837/0.00837, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001908/0.001908, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3617, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003383/0.3651, allocations: 1.689 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9381/1.303, allocations: 148.9 MB / 1.368 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/1.303, allocations: 0 / 1.368 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/1.304, allocations: 53.53 kB / 1.368 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/1.305, allocations: 441.1 kB / 1.368 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/1.305, allocations: 62.42 kB / 1.368 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003231/1.306, allocations: 147.4 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/1.306, allocations: 12.02 kB / 1.368 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/1.306, allocations: 59.36 kB / 1.368 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/1.306, allocations: 62.48 kB / 1.368 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/1.306, allocations: 9.031 kB / 1.368 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/1.307, allocations: 0.5084 MB / 1.369 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/1.307, allocations: 21.22 kB / 1.369 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.142e-05/1.307, allocations: 54.95 kB / 1.369 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009153/1.308, allocations: 377.3 kB / 1.369 GB, free: 14.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.308, allocations: 3.938 kB / 1.369 GB, free: 14.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/1.308, allocations: 1.25 kB / 1.369 GB, free: 14.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.407e-06/1.308, allocations: 0 / 1.369 GB, free: 14.23 MB / 1.076 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.0009972/1.309, allocations: 483.5 kB / 1.37 GB, free: 13.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.309, allocations: 10.06 kB / 1.37 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/1.311, allocations: 180.8 kB / 1.37 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/1.311, allocations: 321.8 kB / 1.37 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.311, allocations: 155.6 kB / 1.37 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/1.311, allocations: 157.1 kB / 1.371 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.791e-05/1.311, allocations: 101 kB / 1.371 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/1.311, allocations: 76.69 kB / 1.371 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.714e-05/1.311, allocations: 152.3 kB / 1.371 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/1.311, allocations: 154.6 kB / 1.371 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/1.312, allocations: 152.1 kB / 1.371 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/1.312, allocations: 0.5101 MB / 1.372 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/1.312, allocations: 175.1 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/1.312, allocations: 81.17 kB / 1.372 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/1.312, allocations: 79.22 kB / 1.372 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/1.312, allocations: 111.1 kB / 1.372 GB, free: 11.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.312, allocations: 0 / 1.372 GB, free: 11.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0003505/1.313, allocations: 63.5 kB / 1.372 GB, free: 11.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/1.313, allocations: 132.1 kB / 1.372 GB, free: 11.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/1.313, allocations: 211.2 kB / 1.373 GB, free: 11.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/1.313, allocations: 30.86 kB / 1.373 GB, free: 11.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/1.313, allocations: 106.1 kB / 1.373 GB, free: 11.03 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/1.313, allocations: 0 / 1.373 GB, free: 11.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/1.313, allocations: 22.39 kB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.313, allocations: 318.7 kB / 1.373 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/1.313, allocations: 25.95 kB / 1.373 GB, free: 10.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/1.313, allocations: 13.48 kB / 1.373 GB, free: 10.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/1.313, allocations: 35.38 kB / 1.373 GB, free: 10.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.313, allocations: 5.281 kB / 1.373 GB, free: 10.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006318/1.314, allocations: 139.1 kB / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.314, allocations: 5.562 kB / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.314, allocations: 0 / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/1.315, allocations: 148.5 kB / 1.373 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/1.315, allocations: 6.953 kB / 1.373 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.317, allocations: 1.614 MB / 1.375 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/1.318, allocations: 11.91 kB / 1.375 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.318, allocations: 5.969 kB / 1.375 GB, free: 9.016 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.862e-05/1.318, allocations: 104.8 kB / 1.375 GB, free: 8.926 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.126e-05/1.318, allocations: 13.22 kB / 1.375 GB, free: 8.922 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.845e-05/1.318, allocations: 24.52 kB / 1.375 GB, free: 8.906 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/1.318, allocations: 0.6094 kB / 1.375 GB, free: 8.906 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002683/1.318, allocations: 108.2 kB / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/1.318, allocations: 5.094 kB / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/1.318, allocations: 1.188 kB / 1.375 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/1.318, allocations: 117.3 kB / 1.375 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/1.318, allocations: 3.906 kB / 1.375 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/1.32, allocations: 1.464 MB / 1.377 GB, free: 7.352 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/1.32, allocations: 4.844 kB / 1.377 GB, free: 7.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.32, allocations: 5.25 kB / 1.377 GB, free: 7.348 MB / 1.076 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.0001338/1.32, allocations: 258.3 kB / 1.377 GB, free: 7.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/1.32, allocations: 125.4 kB / 1.377 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/1.32, allocations: 113 kB / 1.377 GB, free: 6.855 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.075e-05/1.32, allocations: 177.5 kB / 1.377 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.78e-05/1.32, allocations: 185.5 kB / 1.378 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.32, allocations: 181 kB / 1.378 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/1.321, allocations: 449.4 kB / 1.378 GB, free: 5.844 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/1.321, allocations: 104.8 kB / 1.378 GB, free: 5.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/1.321, allocations: 102.2 kB / 1.378 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-05/1.321, allocations: 181.6 kB / 1.379 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/1.321, allocations: 180.2 kB / 1.379 GB, free: 5.266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.687e-05/1.321, allocations: 191.3 kB / 1.379 GB, free: 5.078 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.065e-05/1.321, allocations: 177.2 kB / 1.379 GB, free: 4.898 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/1.321, allocations: 317.8 kB / 1.379 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/1.321, allocations: 201.9 kB / 1.38 GB, free: 4.359 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.321, allocations: 189.8 kB / 1.38 GB, free: 4.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.322, allocations: 110.1 kB / 1.38 GB, free: 4.059 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/1.322, allocations: 183.9 kB / 1.38 GB, free: 3.875 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/1.322, allocations: 106 kB / 1.38 GB, free: 3.766 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002116/1.322, allocations: 165 kB / 1.38 GB, free: 3.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.322, allocations: 0 / 1.38 GB, free: 3.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004915/1.322, allocations: 72.55 kB / 1.38 GB, free: 3.648 MB / 1.076 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.0002997/1.323, allocations: 209.5 kB / 1.381 GB, free: 3.477 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005236/1.323, allocations: 302.9 kB / 1.381 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.323, allocations: 0 / 1.381 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/1.323, allocations: 1.125 kB / 1.381 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/1.324, allocations: 476.1 kB / 1.381 GB, free: 2.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/1.324, allocations: 313.1 kB / 1.382 GB, free: 2.516 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/1.324, allocations: 0.6958 MB / 1.382 GB, free: 1.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.646e-05/1.324, allocations: 16.89 kB / 1.382 GB, free: 1.812 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/1.325, allocations: 15.47 kB / 1.382 GB, free: 1.801 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.325, allocations: 3.938 kB / 1.382 GB, free: 1.797 MB / 1.076 GB Notification: Performance of Templates: time 0.007275/1.332, allocations: 3.076 MB / 1.385 GB, free: 0.7891 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches