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.001585/0.001585, allocations: 107.1 kB / 16.41 MB, free: 6.406 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.001345/0.001345, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.023/3.023, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 59.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9698, allocations: 157.4 MB / 1.208 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003212/0.9731, allocations: 1.693 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1614/1.135, allocations: 148.4 MB / 1.355 GB, free: 7.027 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/1.135, allocations: 0 / 1.355 GB, free: 7.027 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002414/1.135, allocations: 55.45 kB / 1.355 GB, free: 6.977 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/1.136, allocations: 434 kB / 1.356 GB, free: 6.551 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/1.137, allocations: 59.81 kB / 1.356 GB, free: 6.492 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/1.137, allocations: 151.4 kB / 1.356 GB, free: 6.344 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/1.137, allocations: 9.391 kB / 1.356 GB, free: 6.332 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/1.137, allocations: 59.77 kB / 1.356 GB, free: 6.273 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/1.137, allocations: 67.77 kB / 1.356 GB, free: 6.207 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/1.137, allocations: 8 kB / 1.356 GB, free: 6.199 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/1.138, allocations: 0.5067 MB / 1.356 GB, free: 5.691 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/1.138, allocations: 23.91 kB / 1.356 GB, free: 5.668 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/1.138, allocations: 51.73 kB / 1.356 GB, free: 5.617 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007211/1.139, allocations: 377.1 kB / 1.357 GB, free: 5.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.139, allocations: 0 / 1.357 GB, free: 5.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/1.139, allocations: 0 / 1.357 GB, free: 5.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.139, allocations: 0 / 1.357 GB, free: 5.25 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.0007691/1.14, allocations: 486.7 kB / 1.357 GB, free: 4.727 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.14, allocations: 8.031 kB / 1.357 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.141, allocations: 176 kB / 1.357 GB, free: 4.547 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/1.142, allocations: 312.2 kB / 1.358 GB, free: 4.203 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.142, allocations: 158.4 kB / 1.358 GB, free: 4.047 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/1.142, allocations: 154.6 kB / 1.358 GB, free: 3.895 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.268e-05/1.142, allocations: 101 kB / 1.358 GB, free: 3.789 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/1.142, allocations: 79.28 kB / 1.358 GB, free: 3.711 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/1.142, allocations: 154.6 kB / 1.358 GB, free: 3.559 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/1.142, allocations: 150.6 kB / 1.358 GB, free: 3.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/1.142, allocations: 150.6 kB / 1.359 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/1.142, allocations: 0.5211 MB / 1.359 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/1.142, allocations: 169.1 kB / 1.359 GB, free: 2.516 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/1.142, allocations: 80.14 kB / 1.359 GB, free: 2.434 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/1.143, allocations: 75.28 kB / 1.359 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/1.143, allocations: 109.8 kB / 1.36 GB, free: 2.242 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.143, allocations: 0 / 1.36 GB, free: 2.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0003221/1.143, allocations: 73.45 kB / 1.36 GB, free: 2.164 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/1.143, allocations: 126.7 kB / 1.36 GB, free: 2.027 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/1.143, allocations: 219.7 kB / 1.36 GB, free: 1.801 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.143, allocations: 25.7 kB / 1.36 GB, free: 1.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/1.143, allocations: 108 kB / 1.36 GB, free: 1.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/1.143, allocations: 0 / 1.36 GB, free: 1.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/1.143, allocations: 21.72 kB / 1.36 GB, free: 1.633 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.144, allocations: 322.8 kB / 1.36 GB, free: 1.309 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/1.144, allocations: 28.8 kB / 1.36 GB, free: 1.277 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/1.144, allocations: 15.98 kB / 1.36 GB, free: 1.262 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/1.144, allocations: 32.8 kB / 1.36 GB, free: 1.227 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.144, allocations: 0 / 1.36 GB, free: 1.227 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006284/1.144, allocations: 138.3 kB / 1.361 GB, free: 1.082 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.144, allocations: 5.875 kB / 1.361 GB, free: 1.078 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.144, allocations: 0 / 1.361 GB, free: 1.078 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/1.145, allocations: 148.7 kB / 1.361 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/1.145, allocations: 7.984 kB / 1.361 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.147, allocations: 1.609 MB / 1.362 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/1.148, allocations: 8.078 kB / 1.362 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.148, allocations: 4 kB / 1.362 GB, free: 15.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.423e-05/1.148, allocations: 100.1 kB / 1.362 GB, free: 15.05 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.135e-05/1.148, allocations: 19.98 kB / 1.362 GB, free: 15.04 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.257e-05/1.148, allocations: 24.86 kB / 1.362 GB, free: 15.01 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/1.148, allocations: 4 kB / 1.362 GB, free: 15 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002317/1.148, allocations: 106.3 kB / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/1.148, allocations: 4 kB / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/1.148, allocations: 0 / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/1.148, allocations: 112.7 kB / 1.363 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/1.149, allocations: 4 kB / 1.363 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/1.15, allocations: 1.465 MB / 1.364 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/1.15, allocations: 8.094 kB / 1.364 GB, free: 13.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.15, allocations: 7.922 kB / 1.364 GB, free: 13.15 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.0001112/1.15, allocations: 259.5 kB / 1.364 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/1.15, allocations: 112.8 kB / 1.365 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/1.15, allocations: 117.5 kB / 1.365 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.07e-05/1.15, allocations: 184.2 kB / 1.365 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/1.15, allocations: 180.2 kB / 1.365 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.501e-05/1.15, allocations: 176.3 kB / 1.365 GB, free: 12.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/1.151, allocations: 449.1 kB / 1.366 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.151, allocations: 101 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/1.151, allocations: 101.2 kB / 1.366 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/1.151, allocations: 196.2 kB / 1.366 GB, free: 11.2 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/1.151, allocations: 184.1 kB / 1.366 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-05/1.151, allocations: 184.2 kB / 1.366 GB, free: 10.82 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.375e-05/1.151, allocations: 176.3 kB / 1.366 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.151, allocations: 323.6 kB / 1.367 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.151, allocations: 198 kB / 1.367 GB, free: 10.08 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/1.151, allocations: 188.1 kB / 1.367 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/1.152, allocations: 105 kB / 1.367 GB, free: 9.781 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/1.152, allocations: 180.3 kB / 1.367 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/1.152, allocations: 108.9 kB / 1.368 GB, free: 9.484 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001955/1.152, allocations: 156.1 kB / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.152, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004248/1.152, allocations: 71.98 kB / 1.368 GB, free: 9.262 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.0002749/1.153, allocations: 206.5 kB / 1.368 GB, free: 9.051 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005493/1.153, allocations: 305.3 kB / 1.368 GB, free: 8.727 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.153, allocations: 0 / 1.368 GB, free: 8.727 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/1.153, allocations: 0 / 1.368 GB, free: 8.727 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/1.154, allocations: 483.6 kB / 1.369 GB, free: 8.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/1.154, allocations: 322.9 kB / 1.369 GB, free: 7.902 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.154, allocations: 0.7006 MB / 1.37 GB, free: 7.176 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/1.154, allocations: 15.42 kB / 1.37 GB, free: 7.164 MB / 1.092 GB Notification: Performance of SimCode: time 3.41e-07/1.154, allocations: 0 / 1.37 GB, free: 7.164 MB / 1.092 GB Notification: Performance of Templates: time 0.004639/1.159, allocations: 2.399 MB / 1.372 GB, free: 4.781 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/jenkins1/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