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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001214/0.001214, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12.28 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.639, allocations: 153.8 MB / 1.024 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.001953/0.641, allocations: 1.409 MB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.7951, allocations: 144.6 MB / 1.166 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.7953, allocations: 0 / 1.166 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.7955, allocations: 49.69 kB / 1.166 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.7967, allocations: 390.4 kB / 1.167 GB, free: 13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.7969, allocations: 47.95 kB / 1.167 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.7971, allocations: 143.3 kB / 1.167 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.7972, allocations: 13.38 kB / 1.167 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.7972, allocations: 43.8 kB / 1.167 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.7974, allocations: 71.69 kB / 1.167 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.7975, allocations: 8 kB / 1.167 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7985, allocations: 0.5729 MB / 1.168 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.7985, allocations: 23.91 kB / 1.168 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.7986, allocations: 69.44 kB / 1.168 GB, free: 12.01 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.7991, allocations: 279.3 kB / 1.168 GB, free: 11.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7991, allocations: 0 / 1.168 GB, free: 11.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7991, allocations: 0 / 1.168 GB, free: 11.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7991, allocations: 0 / 1.168 GB, free: 11.73 MB / 0.92 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.0006978/0.7998, allocations: 470.9 kB / 1.168 GB, free: 11.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.7998, allocations: 8.031 kB / 1.168 GB, free: 11.22 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.8011, allocations: 179.9 kB / 1.169 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.8015, allocations: 308.8 kB / 1.169 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.8015, allocations: 162.5 kB / 1.169 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.8016, allocations: 154.5 kB / 1.169 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.637e-05/0.8017, allocations: 101 kB / 1.169 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.8017, allocations: 79.28 kB / 1.169 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.8018, allocations: 150.6 kB / 1.169 GB, free: 10.06 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.8018, allocations: 154.6 kB / 1.17 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.8019, allocations: 150.6 kB / 1.17 GB, free: 9.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.8023, allocations: 0.5134 MB / 1.17 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.8024, allocations: 177 kB / 1.17 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.8024, allocations: 84.14 kB / 1.171 GB, free: 8.926 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.8024, allocations: 75.28 kB / 1.171 GB, free: 8.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.8025, allocations: 109.8 kB / 1.171 GB, free: 8.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.8025, allocations: 0 / 1.171 GB, free: 8.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003136/0.8028, allocations: 61.52 kB / 1.171 GB, free: 8.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.8029, allocations: 130.7 kB / 1.171 GB, free: 8.527 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.8032, allocations: 219 kB / 1.171 GB, free: 8.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.8033, allocations: 29.7 kB / 1.171 GB, free: 8.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.8033, allocations: 100.1 kB / 1.171 GB, free: 8.168 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.8033, allocations: 0 / 1.171 GB, free: 8.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.8034, allocations: 21.72 kB / 1.171 GB, free: 8.141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8035, allocations: 322.8 kB / 1.172 GB, free: 7.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.8035, allocations: 16 kB / 1.172 GB, free: 7.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.8036, allocations: 15.98 kB / 1.172 GB, free: 7.785 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.006e-05/0.8037, allocations: 28.8 kB / 1.172 GB, free: 7.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8037, allocations: 0 / 1.172 GB, free: 7.754 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000629/0.8043, allocations: 146.3 kB / 1.172 GB, free: 7.602 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.8044, allocations: 89 kB / 1.172 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8044, allocations: 0 / 1.172 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.8052, allocations: 152.6 kB / 1.172 GB, free: 7.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.8053, allocations: 11.92 kB / 1.172 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.8073, allocations: 1.511 MB / 1.173 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.8075, allocations: 4 kB / 1.173 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.8075, allocations: 3.984 kB / 1.173 GB, free: 5.691 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.8075, allocations: 5.562 kB / 1.173 GB, free: 5.688 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002066/0.8077, allocations: 72.81 kB / 1.174 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.8077, allocations: 3.938 kB / 1.174 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.8081, allocations: 112.7 kB / 1.174 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.8082, allocations: 7.938 kB / 1.174 GB, free: 5.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.8093, allocations: 1.351 MB / 1.175 GB, free: 4.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.8095, allocations: 7.938 kB / 1.175 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8095, allocations: 8.062 kB / 1.175 GB, free: 3.992 MB / 0.92 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.0001687/0.8097, allocations: 280.8 kB / 1.175 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.8098, allocations: 108.9 kB / 1.175 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.8098, allocations: 113.5 kB / 1.175 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/0.8099, allocations: 188.2 kB / 1.176 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.154e-05/0.81, allocations: 180.3 kB / 1.176 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/0.8101, allocations: 184.2 kB / 1.176 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.8104, allocations: 449.1 kB / 1.176 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001067/0.8105, allocations: 101 kB / 1.177 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.8105, allocations: 104.9 kB / 1.177 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.8106, allocations: 184.2 kB / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.8107, allocations: 188.2 kB / 1.177 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/0.8107, allocations: 176.3 kB / 1.177 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.823e-05/0.8108, allocations: 180.3 kB / 1.177 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.811, allocations: 315.6 kB / 1.178 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.8111, allocations: 209.8 kB / 1.178 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.8112, allocations: 180.3 kB / 1.178 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.8113, allocations: 105 kB / 1.178 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.8114, allocations: 184.5 kB / 1.178 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.8115, allocations: 101 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002065/0.8117, allocations: 169.1 kB / 1.179 GB, free: 152 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8117, allocations: 0 / 1.179 GB, free: 152 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004582/0.8122, allocations: 71.98 kB / 1.179 GB, free: 80 kB / 0.92 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.0003015/0.8125, allocations: 202.5 kB / 1.179 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005435/0.813, allocations: 313.3 kB / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.813, allocations: 0 / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.813, allocations: 0 / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.8136, allocations: 0.5514 MB / 1.18 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.814, allocations: 366.5 kB / 1.18 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.8143, allocations: 0.6967 MB / 1.181 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.8143, allocations: 11.44 kB / 1.181 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8143, allocations: 0 / 1.181 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.004339/0.8187, allocations: 2.363 MB / 1.183 GB, free: 11.51 MB / 0.9356 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/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