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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 114.8 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 191.7 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.139/3.139, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 163.8 MB / 1.263 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003116/1.067, allocations: 1.698 MB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2189/1.286, allocations: 148.4 MB / 1.409 GB, free: 9.09 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/1.286, allocations: 0 / 1.409 GB, free: 9.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/1.287, allocations: 52.36 kB / 1.409 GB, free: 9.051 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/1.288, allocations: 434.5 kB / 1.41 GB, free: 8.734 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/1.288, allocations: 66.72 kB / 1.41 GB, free: 8.688 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/1.288, allocations: 151.9 kB / 1.41 GB, free: 8.598 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/1.288, allocations: 6.531 kB / 1.41 GB, free: 8.594 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/1.289, allocations: 52.47 kB / 1.41 GB, free: 8.566 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/1.289, allocations: 69.5 kB / 1.41 GB, free: 8.523 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/1.289, allocations: 8.281 kB / 1.41 GB, free: 8.523 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/1.29, allocations: 0.5015 MB / 1.41 GB, free: 8.254 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/1.29, allocations: 27.03 kB / 1.411 GB, free: 8.23 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/1.29, allocations: 54.19 kB / 1.411 GB, free: 8.195 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/1.291, allocations: 383.2 kB / 1.411 GB, free: 7.977 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.291, allocations: 0 / 1.411 GB, free: 7.977 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.956e-06/1.291, allocations: 0 / 1.411 GB, free: 7.977 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.291, allocations: 1.062 kB / 1.411 GB, free: 7.977 MB / 1.107 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.0007583/1.291, allocations: 482.5 kB / 1.411 GB, free: 7.512 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.291, allocations: 10.12 kB / 1.411 GB, free: 7.512 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.293, allocations: 187.8 kB / 1.412 GB, free: 7.383 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/1.293, allocations: 315.1 kB / 1.412 GB, free: 7.062 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.293, allocations: 154.5 kB / 1.412 GB, free: 6.91 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/1.293, allocations: 157.2 kB / 1.412 GB, free: 6.758 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/1.293, allocations: 106.5 kB / 1.412 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/1.293, allocations: 79.28 kB / 1.412 GB, free: 6.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/1.293, allocations: 150.6 kB / 1.413 GB, free: 6.422 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/1.293, allocations: 154.5 kB / 1.413 GB, free: 6.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/1.293, allocations: 155.9 kB / 1.413 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/1.294, allocations: 0.5138 MB / 1.413 GB, free: 5.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/1.294, allocations: 166.5 kB / 1.413 GB, free: 5.402 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/1.294, allocations: 80.14 kB / 1.414 GB, free: 5.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/1.294, allocations: 75.28 kB / 1.414 GB, free: 5.246 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/1.294, allocations: 111.2 kB / 1.414 GB, free: 5.129 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/1.294, allocations: 0 / 1.414 GB, free: 5.129 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0003008/1.294, allocations: 64.94 kB / 1.414 GB, free: 5.078 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/1.295, allocations: 126.7 kB / 1.414 GB, free: 4.941 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/1.295, allocations: 224.9 kB / 1.414 GB, free: 4.773 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.295, allocations: 26.92 kB / 1.414 GB, free: 4.742 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/1.295, allocations: 99.98 kB / 1.414 GB, free: 4.645 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/1.295, allocations: 1.219 kB / 1.414 GB, free: 4.645 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/1.295, allocations: 27.91 kB / 1.414 GB, free: 4.617 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.295, allocations: 321 kB / 1.415 GB, free: 4.297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/1.295, allocations: 22.05 kB / 1.415 GB, free: 4.281 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/1.295, allocations: 16.45 kB / 1.415 GB, free: 4.273 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/1.295, allocations: 40.33 kB / 1.415 GB, free: 4.242 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.295, allocations: 0 / 1.415 GB, free: 4.242 MB / 1.107 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006111/1.296, allocations: 128.5 kB / 1.415 GB, free: 4.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.296, allocations: 5.344 kB / 1.415 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.296, allocations: 0 / 1.415 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/1.297, allocations: 153 kB / 1.415 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/1.297, allocations: 12.53 kB / 1.415 GB, free: 4.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/1.299, allocations: 1.609 MB / 1.417 GB, free: 2.473 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.299, allocations: 11.44 kB / 1.417 GB, free: 2.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.299, allocations: 5.359 kB / 1.417 GB, free: 2.461 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.289e-05/1.299, allocations: 98.58 kB / 1.417 GB, free: 2.371 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.423e-05/1.299, allocations: 11.84 kB / 1.417 GB, free: 2.367 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.938e-05/1.3, allocations: 32.09 kB / 1.417 GB, free: 2.344 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/1.3, allocations: 3.938 kB / 1.417 GB, free: 2.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002458/1.3, allocations: 107.3 kB / 1.417 GB, free: 2.262 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/1.3, allocations: 5.844 kB / 1.417 GB, free: 2.262 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/1.3, allocations: 4 kB / 1.417 GB, free: 2.258 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/1.3, allocations: 117 kB / 1.417 GB, free: 2.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/1.3, allocations: 3.719 kB / 1.417 GB, free: 2.188 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/1.302, allocations: 1.454 MB / 1.418 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/1.302, allocations: 2.438 kB / 1.418 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.302, allocations: 6.281 kB / 1.418 GB, free: 0.6914 MB / 1.107 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.000145/1.302, allocations: 260.7 kB / 1.419 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/1.302, allocations: 121.7 kB / 1.419 GB, free: 316 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/1.302, allocations: 117.1 kB / 1.419 GB, free: 192 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-05/1.302, allocations: 181.6 kB / 1.419 GB, free: 4 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/1.302, allocations: 181.2 kB / 1.419 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.44e-05/1.302, allocations: 177.5 kB / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/1.303, allocations: 451.2 kB / 1.42 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/1.303, allocations: 101 kB / 1.42 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/1.303, allocations: 106.3 kB / 1.42 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.331e-05/1.303, allocations: 177.4 kB / 1.42 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/1.303, allocations: 185.3 kB / 1.42 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.989e-05/1.303, allocations: 189.4 kB / 1.42 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-05/1.303, allocations: 176.3 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/1.303, allocations: 312.4 kB / 1.421 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.303, allocations: 204.8 kB / 1.421 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/1.303, allocations: 185.8 kB / 1.421 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.304, allocations: 107.3 kB / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/1.304, allocations: 189.3 kB / 1.422 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.304, allocations: 102.1 kB / 1.422 GB, free: 13.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002112/1.304, allocations: 162.5 kB / 1.422 GB, free: 12.95 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.304, allocations: 0 / 1.422 GB, free: 12.95 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004399/1.304, allocations: 74.98 kB / 1.422 GB, free: 12.93 MB / 1.123 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.0002919/1.305, allocations: 206.5 kB / 1.422 GB, free: 12.76 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000605/1.305, allocations: 307.5 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.305, allocations: 0 / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/1.305, allocations: 1.344 kB / 1.422 GB, free: 12.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/1.306, allocations: 487.4 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/1.306, allocations: 330.8 kB / 1.423 GB, free: 11.73 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.307, allocations: 0.6971 MB / 1.424 GB, free: 11.02 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/1.307, allocations: 11.53 kB / 1.424 GB, free: 11.02 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/1.307, allocations: 4 kB / 1.424 GB, free: 11.01 MB / 1.123 GB Notification: Performance of Templates: time 0.005001/1.312, allocations: 2.398 MB / 1.426 GB, free: 9.77 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.726099658058956]