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.001403/0.001403, allocations: 110.3 kB / 16.42 MB, free: 6.516 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.00171/0.00171, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8828, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003774/0.8866, allocations: 1.692 MB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1673/1.054, allocations: 148.4 MB / 1.355 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/1.054, allocations: 0 / 1.355 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/1.054, allocations: 55.31 kB / 1.355 GB, free: 6.797 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/1.056, allocations: 438 kB / 1.356 GB, free: 6.367 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/1.056, allocations: 63.81 kB / 1.356 GB, free: 6.305 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/1.056, allocations: 147.3 kB / 1.356 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/1.056, allocations: 9.391 kB / 1.356 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/1.056, allocations: 51.84 kB / 1.356 GB, free: 6.098 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/1.057, allocations: 63.77 kB / 1.356 GB, free: 6.035 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/1.057, allocations: 12 kB / 1.356 GB, free: 6.023 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/1.058, allocations: 0.5028 MB / 1.356 GB, free: 5.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/1.058, allocations: 27.91 kB / 1.356 GB, free: 5.492 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/1.058, allocations: 55.67 kB / 1.356 GB, free: 5.438 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009188/1.059, allocations: 369.2 kB / 1.357 GB, free: 5.078 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.059, allocations: 4 kB / 1.357 GB, free: 5.074 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.485e-06/1.059, allocations: 0 / 1.357 GB, free: 5.074 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.059, allocations: 0 / 1.357 GB, free: 5.074 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.0008303/1.06, allocations: 490.6 kB / 1.357 GB, free: 4.547 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.06, allocations: 8.031 kB / 1.357 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.061, allocations: 172 kB / 1.357 GB, free: 4.371 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/1.061, allocations: 316.2 kB / 1.358 GB, free: 4.023 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/1.061, allocations: 154.5 kB / 1.358 GB, free: 3.871 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/1.061, allocations: 150.6 kB / 1.358 GB, free: 3.723 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.578e-05/1.062, allocations: 105 kB / 1.358 GB, free: 3.613 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.062, allocations: 75.28 kB / 1.358 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/1.062, allocations: 154.6 kB / 1.358 GB, free: 3.387 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/1.062, allocations: 154.6 kB / 1.358 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/1.062, allocations: 154.5 kB / 1.359 GB, free: 3.082 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/1.062, allocations: 0.5094 MB / 1.359 GB, free: 2.523 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.259e-05/1.062, allocations: 177.1 kB / 1.359 GB, free: 2.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/1.062, allocations: 80.14 kB / 1.359 GB, free: 2.258 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.062, allocations: 75.28 kB / 1.359 GB, free: 2.184 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/1.062, allocations: 105.8 kB / 1.36 GB, free: 2.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.062, allocations: 3.938 kB / 1.36 GB, free: 2.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0003045/1.063, allocations: 69.52 kB / 1.36 GB, free: 1.992 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.063, allocations: 51.41 kB / 1.36 GB, free: 1.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/1.063, allocations: 219.6 kB / 1.36 GB, free: 1.703 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.063, allocations: 29.7 kB / 1.36 GB, free: 1.668 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/1.063, allocations: 104 kB / 1.36 GB, free: 1.562 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.063, allocations: 0 / 1.36 GB, free: 1.562 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/1.063, allocations: 21.72 kB / 1.36 GB, free: 1.535 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.063, allocations: 326.8 kB / 1.36 GB, free: 1.207 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/1.063, allocations: 24.84 kB / 1.36 GB, free: 1.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.969e-05/1.063, allocations: 19.94 kB / 1.36 GB, free: 1.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/1.063, allocations: 28.8 kB / 1.36 GB, free: 1.129 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.063, allocations: 3.938 kB / 1.36 GB, free: 1.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005999/1.064, allocations: 142.4 kB / 1.361 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.064, allocations: 4 kB / 1.361 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.064, allocations: 0 / 1.361 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/1.065, allocations: 148.6 kB / 1.361 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/1.065, allocations: 7.938 kB / 1.361 GB, free: 0.8164 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/1.067, allocations: 1.602 MB / 1.362 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.067, allocations: 15.89 kB / 1.362 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.068, allocations: 4 kB / 1.362 GB, free: 15.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.677e-05/1.068, allocations: 96.14 kB / 1.362 GB, free: 14.96 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.378e-05/1.068, allocations: 20.17 kB / 1.362 GB, free: 14.94 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.562e-05/1.068, allocations: 24.86 kB / 1.362 GB, free: 14.91 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/1.068, allocations: 0 / 1.362 GB, free: 14.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002348/1.068, allocations: 114.3 kB / 1.363 GB, free: 14.79 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.068, allocations: 8 kB / 1.363 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/1.068, allocations: 0 / 1.363 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/1.068, allocations: 108.9 kB / 1.363 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/1.068, allocations: 8 kB / 1.363 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/1.069, allocations: 1.465 MB / 1.364 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/1.07, allocations: 8.047 kB / 1.364 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/1.07, allocations: 7.969 kB / 1.364 GB, free: 13.04 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.0001137/1.07, allocations: 255.5 kB / 1.364 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/1.07, allocations: 112.8 kB / 1.364 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/1.07, allocations: 117.5 kB / 1.365 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-05/1.07, allocations: 184.2 kB / 1.365 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/1.07, allocations: 109 kB / 1.365 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.07, allocations: 197.9 kB / 1.365 GB, free: 12.03 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/1.07, allocations: 180.2 kB / 1.365 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/1.07, allocations: 109 kB / 1.365 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/1.07, allocations: 180.2 kB / 1.365 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.972e-05/1.071, allocations: 259.5 kB / 1.366 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001744/1.071, allocations: 390.9 kB / 1.366 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.102e-05/1.071, allocations: 108.9 kB / 1.366 GB, free: 10.77 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001861/1.071, allocations: 160.1 kB / 1.366 GB, free: 10.61 MB / 1.092 GB Notification: Performance of Backend: time 4.71e-07/1.071, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.072, allocations: 0.5 MB / 1.367 GB, free: 10.08 MB / 1.092 GB Notification: Performance of SimCode: time 0.0009346/1.073, allocations: 0.9961 MB / 1.368 GB, free: 9.039 MB / 1.092 GB Notification: Performance of Templates: time 0.009474/1.083, allocations: 4.719 MB / 1.372 GB, free: 4.359 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