Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 215.2 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.509/3.509, allocations: 0.49 GB / 0.7951 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 74.64 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4945, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1746/0.6691, allocations: 135.2 MB / 1.458 GB, free: 9.73 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04554/0.7146, allocations: 23.36 MB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008898/0.7235, allocations: 174.5 kB / 1.481 GB, free: 2.141 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.007436/0.731, allocations: 1.545 MB / 1.483 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.7507, allocations: 4.389 MB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008497/0.7592, allocations: 2.258 MB / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01382/0.773, allocations: 6.592 MB / 1.496 GB, free: 3.328 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005388/0.7784, allocations: 1.856 MB / 1.498 GB, free: 1.41 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.7894, allocations: 3.143 MB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/0.795, allocations: 1.941 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.7965, allocations: 248 kB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007178/0.8036, allocations: 2.063 MB / 1.505 GB, free: 10.01 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.8052, allocations: 0.6184 MB / 1.505 GB, free: 9.387 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004288/0.8095, allocations: 1.458 MB / 1.507 GB, free: 7.922 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.8218, allocations: 4.473 MB / 1.511 GB, free: 3.434 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.8218, allocations: 4 kB / 1.511 GB, free: 3.43 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8218, allocations: 0 / 1.511 GB, free: 3.43 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001765/0.822, allocations: 0 / 1.511 GB, free: 3.43 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.0104/0.8324, allocations: 3.21 MB / 1.514 GB, free: 152 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/0.8324, allocations: 12.03 kB / 1.514 GB, free: 140 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.8374, allocations: 0.8535 MB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00676/0.8441, allocations: 2.281 MB / 1.517 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.8443, allocations: 131 kB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.8446, allocations: 160 kB / 1.518 GB, free: 12.63 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004612/0.8492, allocations: 1.934 MB / 1.52 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.8492, allocations: 0 / 1.52 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.8494, allocations: 63.98 kB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.8494, allocations: 40 kB / 1.52 GB, free: 10.53 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/0.8541, allocations: 1.807 MB / 1.521 GB, free: 8.719 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.8693, allocations: 8.861 MB / 1.53 GB, free: 15.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.8736, allocations: 1.146 MB / 1.531 GB, free: 14.1 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.8747, allocations: 433.4 kB / 1.532 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.8752, allocations: 156.5 kB / 1.532 GB, free: 13.52 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.8753, allocations: 50.5 kB / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/0.8753, allocations: 0 / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.008918/0.8842, allocations: 2.191 MB / 1.534 GB, free: 11.26 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.8843, allocations: 85.11 kB / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.8889, allocations: 2.541 MB / 1.537 GB, free: 8.598 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.8891, allocations: 45.7 kB / 1.537 GB, free: 8.547 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.8902, allocations: 1.055 MB / 1.538 GB, free: 7.484 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.8906, allocations: 281.6 kB / 1.538 GB, free: 7.207 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.8911, allocations: 266.6 kB / 1.538 GB, free: 6.941 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8913, allocations: 345.9 kB / 1.539 GB, free: 6.598 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.8929, allocations: 0.5725 MB / 1.539 GB, free: 6.023 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.8951, allocations: 0.9582 MB / 1.54 GB, free: 4.914 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.8982, allocations: 1.248 MB / 1.541 GB, free: 3.559 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.8982, allocations: 0 / 1.541 GB, free: 3.559 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006829/0.905, allocations: 2.033 MB / 1.543 GB, free: 1.512 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.905, allocations: 9.875 kB / 1.543 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.905, allocations: 8 kB / 1.543 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.907, allocations: 0.4964 MB / 1.544 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.9083, allocations: 275.6 kB / 1.544 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.9107, allocations: 1.514 MB / 1.545 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.9138, allocations: 374.5 kB / 1.546 GB, free: 14.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.914, allocations: 67.91 kB / 1.546 GB, free: 14.73 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.9151, allocations: 461.5 kB / 1.546 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006411/0.9157, allocations: 266.3 kB / 1.547 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.9195, allocations: 1.505 MB / 1.548 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.9196, allocations: 16 kB / 1.548 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9196, allocations: 0 / 1.548 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.9196, allocations: 3.984 kB / 1.548 GB, free: 12.46 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008411/0.928, allocations: 3.61 MB / 1.552 GB, free: 8.746 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.928, allocations: 0 / 1.552 GB, free: 8.746 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.9286, allocations: 132.2 kB / 1.552 GB, free: 8.617 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.9303, allocations: 485.2 kB / 1.552 GB, free: 8.137 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.9304, allocations: 31.92 kB / 1.552 GB, free: 8.105 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.9332, allocations: 1.586 MB / 1.554 GB, free: 6.469 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.9332, allocations: 8.062 kB / 1.554 GB, free: 6.461 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/0.9396, allocations: 1.958 MB / 1.556 GB, free: 4.438 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.9411, allocations: 431.8 kB / 1.556 GB, free: 4.012 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/0.9415, allocations: 27.86 kB / 1.556 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/0.9432, allocations: 135.8 kB / 1.556 GB, free: 3.852 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9433, allocations: 51.89 kB / 1.556 GB, free: 3.801 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.9434, allocations: 43.97 kB / 1.556 GB, free: 3.758 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003391/0.9468, allocations: 1.785 MB / 1.558 GB, free: 1.969 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9468, allocations: 3.938 kB / 1.558 GB, free: 1.965 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002451/0.9493, allocations: 0.6979 MB / 1.559 GB, free: 1.266 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001174/0.9505, allocations: 0.5993 MB / 1.559 GB, free: 0.6562 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004307/0.9548, allocations: 1.315 MB / 1.561 GB, free: 15.35 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.9548, allocations: 0 / 1.561 GB, free: 15.35 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.9571, allocations: 0.6505 MB / 1.561 GB, free: 14.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006429/0.9635, allocations: 1.324 MB / 1.563 GB, free: 13.39 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.9711, allocations: 3.638 MB / 1.566 GB, free: 9.676 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.9723, allocations: 1.49 MB / 1.568 GB, free: 8.152 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002136/0.9745, allocations: 436 kB / 1.568 GB, free: 7.727 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.975, allocations: 175.4 kB / 1.568 GB, free: 7.555 MB / 1.264 GB Notification: Performance of SimCode: time 1.122e-06/0.975, allocations: 3.938 kB / 1.568 GB, free: 7.551 MB / 1.264 GB Notification: Performance of Templates: time 0.9675/1.942, allocations: 49.9 MB / 1.617 GB, free: 270.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 13.261326871812344]