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.00173/0.001737, allocations: 110.1 kB / 16.27 MB, free: 6.352 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.001954/0.001954, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.621/2.621, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 72.16 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.005125/0.3761, allocations: 1.696 MB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8415/1.218, allocations: 148.4 MB / 1.165 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/1.218, allocations: 0 / 1.165 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/1.218, allocations: 53.36 kB / 1.165 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/1.219, allocations: 436.8 kB / 1.165 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/1.219, allocations: 61.88 kB / 1.165 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/1.22, allocations: 144.1 kB / 1.165 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/1.22, allocations: 21.31 kB / 1.165 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/1.22, allocations: 45.77 kB / 1.165 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/1.22, allocations: 65.83 kB / 1.165 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/1.22, allocations: 8.938 kB / 1.165 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/1.221, allocations: 0.5058 MB / 1.166 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/1.221, allocations: 28.05 kB / 1.166 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/1.221, allocations: 54.56 kB / 1.166 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006424/1.222, allocations: 372.1 kB / 1.166 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.222, allocations: 0 / 1.166 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/1.222, allocations: 4 kB / 1.166 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.222, allocations: 1.125 kB / 1.166 GB, free: 3.895 MB / 0.8731 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.0007812/1.223, allocations: 482.2 kB / 1.167 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.223, allocations: 8.875 kB / 1.167 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.224, allocations: 185.6 kB / 1.167 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/1.224, allocations: 308.7 kB / 1.167 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/1.225, allocations: 159.7 kB / 1.167 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/1.225, allocations: 153.3 kB / 1.168 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/1.225, allocations: 105 kB / 1.168 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/1.225, allocations: 75.28 kB / 1.168 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/1.225, allocations: 151.9 kB / 1.168 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/1.225, allocations: 154.5 kB / 1.168 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/1.225, allocations: 150.6 kB / 1.168 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/1.225, allocations: 0.5101 MB / 1.169 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.226, allocations: 174.5 kB / 1.169 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/1.226, allocations: 80.14 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/1.226, allocations: 80.47 kB / 1.169 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/1.226, allocations: 111.4 kB / 1.169 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.226, allocations: 5.344 kB / 1.169 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0003212/1.226, allocations: 56.31 kB / 1.169 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/1.226, allocations: 126.7 kB / 1.169 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/1.226, allocations: 222.7 kB / 1.169 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.227, allocations: 30.77 kB / 1.17 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/1.227, allocations: 104.8 kB / 1.17 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/1.227, allocations: 0 / 1.17 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/1.227, allocations: 26.98 kB / 1.17 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.227, allocations: 319.4 kB / 1.17 GB, free: 372 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/1.227, allocations: 19.67 kB / 1.17 GB, free: 360 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/1.227, allocations: 23.36 kB / 1.17 GB, free: 348 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/1.227, allocations: 24.33 kB / 1.17 GB, free: 332 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.227, allocations: 3.938 kB / 1.17 GB, free: 328 kB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006352/1.228, allocations: 138.3 kB / 1.17 GB, free: 256 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.228, allocations: 5.125 kB / 1.17 GB, free: 256 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.228, allocations: 3.938 kB / 1.17 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/1.229, allocations: 147.5 kB / 1.17 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/1.229, allocations: 7.188 kB / 1.17 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.231, allocations: 1.615 MB / 1.172 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.231, allocations: 7.75 kB / 1.172 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.231, allocations: 3.062 kB / 1.172 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001055/1.231, allocations: 106.4 kB / 1.172 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.262e-05/1.231, allocations: 12.38 kB / 1.172 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.77e-05/1.231, allocations: 30.58 kB / 1.172 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/1.231, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000265/1.232, allocations: 109.3 kB / 1.172 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/1.232, allocations: 4.688 kB / 1.172 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/1.232, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/1.232, allocations: 111.7 kB / 1.172 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/1.232, allocations: 8.75 kB / 1.172 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/1.234, allocations: 1.464 MB / 1.174 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/1.234, allocations: 6.188 kB / 1.174 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/1.234, allocations: 5.219 kB / 1.174 GB, free: 13.02 MB / 0.8887 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.0001506/1.234, allocations: 257.6 kB / 1.174 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/1.234, allocations: 120.8 kB / 1.174 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/1.234, allocations: 114.6 kB / 1.174 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/1.234, allocations: 181.1 kB / 1.174 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-05/1.234, allocations: 181.3 kB / 1.175 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-05/1.234, allocations: 191.9 kB / 1.175 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/1.235, allocations: 442.7 kB / 1.175 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.848e-05/1.235, allocations: 102.1 kB / 1.175 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/1.235, allocations: 106 kB / 1.175 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.891e-05/1.235, allocations: 179.4 kB / 1.175 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.235, allocations: 189.1 kB / 1.176 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.419e-05/1.235, allocations: 177.5 kB / 1.176 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-05/1.235, allocations: 179.9 kB / 1.176 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/1.235, allocations: 311.2 kB / 1.176 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.236, allocations: 204.1 kB / 1.177 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.236, allocations: 189.3 kB / 1.177 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/1.236, allocations: 106 kB / 1.177 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/1.236, allocations: 181.4 kB / 1.177 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/1.236, allocations: 103.6 kB / 1.177 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002251/1.236, allocations: 165.8 kB / 1.177 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.236, allocations: 0 / 1.177 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004734/1.237, allocations: 70.84 kB / 1.177 GB, free: 9.332 MB / 0.8887 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.0003181/1.237, allocations: 206 kB / 1.177 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006129/1.238, allocations: 305.9 kB / 1.178 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.238, allocations: 0 / 1.178 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/1.238, allocations: 0 / 1.178 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/1.238, allocations: 493.1 kB / 1.178 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/1.239, allocations: 328.6 kB / 1.179 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.239, allocations: 0.7005 MB / 1.179 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/1.239, allocations: 13.61 kB / 1.179 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/1.239, allocations: 0 / 1.179 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of Templates: time 0.005444/1.245, allocations: 2.391 MB / 1.182 GB, free: 6.617 MB / 0.8887 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=400 -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/jenkins1/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