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.007012/0.007012, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001478/0.001478, allocations: 202 kB / 16.68 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.699/2.699, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.88 kB / 1.019 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.406, allocations: 151.6 MB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003332/0.4095, allocations: 1.689 MB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.018/1.427, allocations: 148.4 MB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/1.427, allocations: 0 / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/1.428, allocations: 41.08 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/1.429, allocations: 449.3 kB / 1.314 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/1.429, allocations: 60.84 kB / 1.314 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/1.429, allocations: 149.2 kB / 1.314 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/1.43, allocations: 14.86 kB / 1.314 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/1.43, allocations: 45.59 kB / 1.314 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/1.43, allocations: 69.69 kB / 1.314 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/1.43, allocations: 12.31 kB / 1.314 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/1.431, allocations: 0.5067 MB / 1.315 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/1.431, allocations: 22.14 kB / 1.315 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/1.431, allocations: 56.53 kB / 1.315 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007009/1.432, allocations: 376.5 kB / 1.315 GB, free: 12.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.432, allocations: 4 kB / 1.315 GB, free: 12.49 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.355e-06/1.432, allocations: 0 / 1.315 GB, free: 12.49 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.432, allocations: 2.219 kB / 1.315 GB, free: 12.49 MB / 1.014 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.0008253/1.433, allocations: 485.3 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.433, allocations: 9.688 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.434, allocations: 176.4 kB / 1.316 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/1.434, allocations: 317.1 kB / 1.316 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/1.434, allocations: 155.6 kB / 1.316 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/1.435, allocations: 156.6 kB / 1.316 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/1.435, allocations: 110.1 kB / 1.316 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/1.435, allocations: 75.94 kB / 1.316 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/1.435, allocations: 150.6 kB / 1.317 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.034e-05/1.435, allocations: 151.7 kB / 1.317 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/1.435, allocations: 151.8 kB / 1.317 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/1.435, allocations: 0.5135 MB / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/1.435, allocations: 174.8 kB / 1.318 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/1.435, allocations: 80.14 kB / 1.318 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/1.435, allocations: 80.28 kB / 1.318 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/1.436, allocations: 114.5 kB / 1.318 GB, free: 9.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/1.436, allocations: 1.062 kB / 1.318 GB, free: 9.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0003196/1.436, allocations: 57.73 kB / 1.318 GB, free: 9.781 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.436, allocations: 127.8 kB / 1.318 GB, free: 9.645 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/1.436, allocations: 226.5 kB / 1.318 GB, free: 9.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.436, allocations: 25.7 kB / 1.318 GB, free: 9.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/1.436, allocations: 110.8 kB / 1.318 GB, free: 9.418 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/1.436, allocations: 0 / 1.318 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/1.437, allocations: 25.23 kB / 1.318 GB, free: 9.398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.437, allocations: 325.1 kB / 1.319 GB, free: 9.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/1.437, allocations: 20.73 kB / 1.319 GB, free: 9.074 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/1.437, allocations: 17.59 kB / 1.319 GB, free: 9.074 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.96e-05/1.437, allocations: 28.27 kB / 1.319 GB, free: 9.066 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.437, allocations: 7.938 kB / 1.319 GB, free: 9.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006334/1.438, allocations: 137.4 kB / 1.319 GB, free: 9.008 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.438, allocations: 5.562 kB / 1.319 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.438, allocations: 0.6562 kB / 1.319 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/1.438, allocations: 150.7 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/1.438, allocations: 5.047 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.441, allocations: 1.613 MB / 1.321 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.441, allocations: 11.94 kB / 1.321 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.441, allocations: 1.578 kB / 1.321 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.843e-05/1.441, allocations: 111.4 kB / 1.321 GB, free: 7.488 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.594e-05/1.441, allocations: 15.81 kB / 1.321 GB, free: 7.488 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.17e-05/1.441, allocations: 22.91 kB / 1.321 GB, free: 7.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.81e-07/1.441, allocations: 0 / 1.321 GB, free: 7.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002712/1.441, allocations: 110.5 kB / 1.321 GB, free: 7.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.441, allocations: 6.109 kB / 1.321 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/1.441, allocations: 0 / 1.321 GB, free: 7.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/1.442, allocations: 114.1 kB / 1.321 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/1.442, allocations: 4.953 kB / 1.321 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/1.443, allocations: 1.459 MB / 1.322 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.443, allocations: 6.891 kB / 1.322 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.443, allocations: 4.922 kB / 1.322 GB, free: 6.043 MB / 1.014 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.0001227/1.443, allocations: 253.5 kB / 1.323 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/1.443, allocations: 119.2 kB / 1.323 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/1.444, allocations: 122.4 kB / 1.323 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.868e-05/1.444, allocations: 178.1 kB / 1.323 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-05/1.444, allocations: 178.1 kB / 1.323 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.586e-05/1.444, allocations: 186.4 kB / 1.323 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/1.444, allocations: 447.8 kB / 1.324 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/1.444, allocations: 106.5 kB / 1.324 GB, free: 4.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/1.444, allocations: 107.1 kB / 1.324 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.878e-05/1.444, allocations: 188.9 kB / 1.324 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/1.444, allocations: 182.2 kB / 1.324 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.24e-05/1.444, allocations: 178.1 kB / 1.325 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.073e-05/1.444, allocations: 186.1 kB / 1.325 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/1.445, allocations: 312.1 kB / 1.325 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.445, allocations: 203.2 kB / 1.325 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/1.445, allocations: 185.2 kB / 1.325 GB, free: 2.895 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/1.445, allocations: 113.5 kB / 1.325 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/1.445, allocations: 178.1 kB / 1.326 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/1.445, allocations: 106.9 kB / 1.326 GB, free: 2.492 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002429/1.445, allocations: 162.4 kB / 1.326 GB, free: 2.418 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.445, allocations: 0 / 1.326 GB, free: 2.418 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005352/1.446, allocations: 71.27 kB / 1.326 GB, free: 2.41 MB / 1.014 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.0003595/1.446, allocations: 213.4 kB / 1.326 GB, free: 2.238 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006209/1.447, allocations: 295.1 kB / 1.326 GB, free: 2.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.447, allocations: 0 / 1.326 GB, free: 2.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/1.447, allocations: 8.641 kB / 1.326 GB, free: 2.012 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/1.448, allocations: 473.5 kB / 1.327 GB, free: 1.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/1.448, allocations: 311.7 kB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/1.448, allocations: 0.6969 MB / 1.328 GB, free: 0.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.136e-05/1.449, allocations: 12.06 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/1.449, allocations: 13.73 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of SimCode: time 1.734e-06/1.449, allocations: 0 / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of Templates: time 0.008008/1.457, allocations: 3.067 MB / 1.331 GB, free: 400 kB / 1.014 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