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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005734/0.005734, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001188/0.001188, allocations: 190.7 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.12 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8544, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003215/0.8577, allocations: 1.694 MB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1671/1.025, allocations: 148.4 MB / 1.354 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/1.025, allocations: 4 kB / 1.354 GB, free: 6.902 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/1.025, allocations: 55.38 kB / 1.354 GB, free: 6.852 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/1.026, allocations: 449.9 kB / 1.355 GB, free: 6.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/1.027, allocations: 63.88 kB / 1.355 GB, free: 6.348 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/1.027, allocations: 147.3 kB / 1.355 GB, free: 6.203 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/1.027, allocations: 9.391 kB / 1.355 GB, free: 6.191 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/1.027, allocations: 43.86 kB / 1.355 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/1.027, allocations: 75.73 kB / 1.355 GB, free: 6.074 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/1.027, allocations: 8 kB / 1.355 GB, free: 6.066 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/1.028, allocations: 0.5067 MB / 1.356 GB, free: 5.559 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/1.028, allocations: 23.91 kB / 1.356 GB, free: 5.535 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/1.028, allocations: 55.73 kB / 1.356 GB, free: 5.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/1.029, allocations: 373.1 kB / 1.356 GB, free: 5.117 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.029, allocations: 0 / 1.356 GB, free: 5.117 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/1.029, allocations: 4 kB / 1.356 GB, free: 5.113 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.029, allocations: 0 / 1.356 GB, free: 5.113 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.0007023/1.03, allocations: 482.7 kB / 1.357 GB, free: 4.594 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.03, allocations: 8.031 kB / 1.357 GB, free: 4.586 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/1.031, allocations: 176 kB / 1.357 GB, free: 4.414 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/1.031, allocations: 312.2 kB / 1.357 GB, free: 4.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/1.031, allocations: 154.5 kB / 1.357 GB, free: 3.918 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-05/1.032, allocations: 162.6 kB / 1.357 GB, free: 3.758 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.814e-05/1.032, allocations: 104.9 kB / 1.357 GB, free: 3.648 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.032, allocations: 75.28 kB / 1.357 GB, free: 3.574 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/1.032, allocations: 150.6 kB / 1.358 GB, free: 3.426 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/1.032, allocations: 150.6 kB / 1.358 GB, free: 3.277 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/1.032, allocations: 150.6 kB / 1.358 GB, free: 3.129 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/1.032, allocations: 0.5173 MB / 1.358 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.032, allocations: 173.1 kB / 1.359 GB, free: 2.383 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/1.033, allocations: 80.14 kB / 1.359 GB, free: 2.301 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.033, allocations: 79.22 kB / 1.359 GB, free: 2.223 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.033, allocations: 113.8 kB / 1.359 GB, free: 2.102 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/1.033, allocations: 0 / 1.359 GB, free: 2.102 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.000295/1.033, allocations: 57.58 kB / 1.359 GB, free: 2.039 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/1.033, allocations: 126.7 kB / 1.359 GB, free: 1.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.033, allocations: 223.6 kB / 1.359 GB, free: 1.672 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/1.033, allocations: 29.7 kB / 1.359 GB, free: 1.637 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/1.033, allocations: 112 kB / 1.359 GB, free: 1.523 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/1.033, allocations: 0 / 1.359 GB, free: 1.523 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/1.033, allocations: 21.72 kB / 1.359 GB, free: 1.496 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.034, allocations: 322.8 kB / 1.36 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/1.034, allocations: 24.84 kB / 1.36 GB, free: 1.145 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.975e-05/1.034, allocations: 20 kB / 1.36 GB, free: 1.125 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.532e-05/1.034, allocations: 28.8 kB / 1.36 GB, free: 1.094 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.034, allocations: 7.984 kB / 1.36 GB, free: 1.086 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005795/1.034, allocations: 130.3 kB / 1.36 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.034, allocations: 4 kB / 1.36 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.034, allocations: 192 / 1.36 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/1.035, allocations: 152.6 kB / 1.36 GB, free: 0.793 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/1.035, allocations: 8 kB / 1.36 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/1.037, allocations: 1.606 MB / 1.362 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/1.038, allocations: 7.938 kB / 1.362 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.038, allocations: 8.062 kB / 1.362 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.255e-05/1.038, allocations: 100.1 kB / 1.362 GB, free: 14.92 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.226e-05/1.038, allocations: 19.94 kB / 1.362 GB, free: 14.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.512e-05/1.038, allocations: 24.86 kB / 1.362 GB, free: 14.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/1.038, allocations: 0 / 1.362 GB, free: 14.87 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002191/1.038, allocations: 102.4 kB / 1.362 GB, free: 14.76 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.038, allocations: 11.98 kB / 1.362 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/1.038, allocations: 4.125 kB / 1.362 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/1.038, allocations: 112.7 kB / 1.362 GB, free: 14.63 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/1.038, allocations: 11.94 kB / 1.362 GB, free: 14.62 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/1.04, allocations: 1.461 MB / 1.363 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/1.04, allocations: 7.984 kB / 1.363 GB, free: 13.01 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/1.04, allocations: 4.031 kB / 1.363 GB, free: 13.01 MB / 1.092 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.0001066/1.04, allocations: 255.6 kB / 1.364 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/1.04, allocations: 112.9 kB / 1.364 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.04, allocations: 121.4 kB / 1.364 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.502e-05/1.04, allocations: 180.3 kB / 1.364 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.759e-05/1.04, allocations: 176.3 kB / 1.364 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/1.04, allocations: 180.2 kB / 1.364 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/1.041, allocations: 449.2 kB / 1.365 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/1.041, allocations: 108.9 kB / 1.365 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.041, allocations: 101 kB / 1.365 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.106e-05/1.041, allocations: 184.2 kB / 1.365 GB, free: 11.06 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/1.041, allocations: 188.1 kB / 1.365 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/1.041, allocations: 176.3 kB / 1.366 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-05/1.041, allocations: 184.2 kB / 1.366 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/1.041, allocations: 323.6 kB / 1.366 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.041, allocations: 194.1 kB / 1.366 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.172e-05/1.041, allocations: 184.2 kB / 1.366 GB, free: 9.762 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.042, allocations: 116.9 kB / 1.367 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/1.042, allocations: 180.3 kB / 1.367 GB, free: 9.457 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/1.042, allocations: 108.9 kB / 1.367 GB, free: 9.344 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002001/1.042, allocations: 161.2 kB / 1.367 GB, free: 9.188 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.042, allocations: 0 / 1.367 GB, free: 9.188 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004956/1.042, allocations: 68 kB / 1.367 GB, free: 9.121 MB / 1.092 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.0002834/1.043, allocations: 210.5 kB / 1.367 GB, free: 8.906 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005491/1.043, allocations: 293.4 kB / 1.368 GB, free: 8.594 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.043, allocations: 8 kB / 1.368 GB, free: 8.586 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/1.043, allocations: 0 / 1.368 GB, free: 8.586 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/1.044, allocations: 483.8 kB / 1.368 GB, free: 8.109 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/1.044, allocations: 301.3 kB / 1.368 GB, free: 7.789 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/1.045, allocations: 0.6967 MB / 1.369 GB, free: 7.066 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.102e-05/1.045, allocations: 12.56 kB / 1.369 GB, free: 7.055 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/1.045, allocations: 11.44 kB / 1.369 GB, free: 7.047 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.045, allocations: 4 kB / 1.369 GB, free: 7.043 MB / 1.092 GB Notification: Performance of Templates: time 0.00635/1.051, allocations: 3.074 MB / 1.372 GB, free: 4.008 MB / 1.092 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches