Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.00172/0.00172, allocations: 115.5 kB / 17.08 MB, free: 5.82 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.00189/0.00189, allocations: 193.1 kB / 20.02 MB, free: 2.93 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.452/1.452, allocations: 222.9 MB / 245.7 MB, free: 4.332 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.047/3.047, allocations: 489.3 MB / 0.7687 GB, free: 3.742 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.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_latest_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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 163.8 MB / 1.263 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.161/1.224, allocations: 132.5 MB / 1.392 GB, free: 8.145 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04162/1.265, allocations: 23.24 MB / 1.415 GB, free: 5.117 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006584/1.272, allocations: 124.8 kB / 1.415 GB, free: 5.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005615/1.278, allocations: 1.484 MB / 1.416 GB, free: 3.797 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01574/1.294, allocations: 4.083 MB / 1.42 GB, free: 0.5 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007571/1.301, allocations: 2.17 MB / 1.422 GB, free: 14.8 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01336/1.315, allocations: 6.522 MB / 1.429 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005259/1.32, allocations: 2.369 MB / 1.431 GB, free: 9.359 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009431/1.329, allocations: 2.99 MB / 1.434 GB, free: 7.477 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/1.335, allocations: 1.855 MB / 1.436 GB, free: 6.332 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009444/1.336, allocations: 247.9 kB / 1.436 GB, free: 6.332 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006717/1.342, allocations: 1.933 MB / 1.438 GB, free: 4.672 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.343, allocations: 0.5953 MB / 1.438 GB, free: 4.074 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003243/1.347, allocations: 1.462 MB / 1.44 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009886/1.357, allocations: 4.395 MB / 1.444 GB, free: 14.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.357, allocations: 0 / 1.444 GB, free: 14.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.215e-06/1.357, allocations: 0 / 1.444 GB, free: 14.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.439e-05/1.357, allocations: 0 / 1.444 GB, free: 14.2 MB / 1.139 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.006823/1.364, allocations: 3.274 MB / 1.447 GB, free: 10.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.364, allocations: 12.03 kB / 1.447 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/1.368, allocations: 0.8496 MB / 1.448 GB, free: 9.973 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005256/1.373, allocations: 2.344 MB / 1.45 GB, free: 7.555 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.374, allocations: 127 kB / 1.451 GB, free: 7.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/1.374, allocations: 156 kB / 1.451 GB, free: 7.277 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/1.378, allocations: 1.926 MB / 1.453 GB, free: 5.285 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.378, allocations: 7.984 kB / 1.453 GB, free: 5.277 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/1.379, allocations: 64 kB / 1.453 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/1.379, allocations: 36 kB / 1.453 GB, free: 5.18 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004903/1.384, allocations: 1.799 MB / 1.455 GB, free: 3.379 MB / 1.139 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.01505/1.399, allocations: 9.014 MB / 1.463 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/1.403, allocations: 1.202 MB / 1.464 GB, free: 8.551 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/1.404, allocations: 461.5 kB / 1.465 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/1.406, allocations: 1.73 MB / 1.467 GB, free: 5.977 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/1.406, allocations: 42.5 kB / 1.467 GB, free: 5.926 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/1.406, allocations: 0 / 1.467 GB, free: 5.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.009548/1.416, allocations: 2.352 MB / 1.469 GB, free: 3.523 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/1.416, allocations: 85.11 kB / 1.469 GB, free: 3.422 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005315/1.421, allocations: 2.524 MB / 1.471 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/1.421, allocations: 45.7 kB / 1.472 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.423, allocations: 1.058 MB / 1.473 GB, free: 15.76 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/1.423, allocations: 281.6 kB / 1.473 GB, free: 15.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/1.424, allocations: 262.7 kB / 1.473 GB, free: 15.22 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.424, allocations: 345.9 kB / 1.473 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.426, allocations: 0.5725 MB / 1.474 GB, free: 14.3 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/1.428, allocations: 0.9543 MB / 1.475 GB, free: 13.2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003384/1.431, allocations: 1.248 MB / 1.476 GB, free: 11.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.431, allocations: 4 kB / 1.476 GB, free: 11.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007415/1.439, allocations: 2.034 MB / 1.478 GB, free: 9.785 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.439, allocations: 9.875 kB / 1.478 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.439, allocations: 12.03 kB / 1.478 GB, free: 9.766 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/1.441, allocations: 493.1 kB / 1.479 GB, free: 9.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.442, allocations: 283.6 kB / 1.479 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/1.445, allocations: 1.514 MB / 1.48 GB, free: 7.434 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.448, allocations: 374.5 kB / 1.481 GB, free: 7.066 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/1.448, allocations: 63.89 kB / 1.481 GB, free: 7.004 MB / 1.17 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.001114/1.449, allocations: 465.4 kB / 1.481 GB, free: 6.539 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007339/1.45, allocations: 262.3 kB / 1.481 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/1.454, allocations: 1.493 MB / 1.483 GB, free: 4.773 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/1.455, allocations: 20 kB / 1.483 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.455, allocations: 0 / 1.483 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.455, allocations: 7.969 kB / 1.483 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00892/1.463, allocations: 3.607 MB / 1.486 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.464, allocations: 7.938 kB / 1.486 GB, free: 1.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/1.464, allocations: 127.8 kB / 1.487 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.466, allocations: 489.2 kB / 1.487 GB, free: 420 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/1.466, allocations: 27.98 kB / 1.487 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/1.469, allocations: 1.586 MB / 1.489 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.469, allocations: 7.984 kB / 1.489 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006796/1.476, allocations: 1.946 MB / 1.491 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.478, allocations: 0.4951 MB / 1.491 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/1.478, allocations: 35.86 kB / 1.491 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.48, allocations: 131.8 kB / 1.491 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.48, allocations: 55.92 kB / 1.491 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.48, allocations: 43.97 kB / 1.491 GB, free: 11.95 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003494/1.483, allocations: 1.769 MB / 1.493 GB, free: 10.18 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/1.483, allocations: 0 / 1.493 GB, free: 10.18 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002407/1.486, allocations: 0.6979 MB / 1.494 GB, free: 9.477 MB / 1.186 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.001356/1.487, allocations: 0.6259 MB / 1.494 GB, free: 8.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004714/1.492, allocations: 1.354 MB / 1.496 GB, free: 7.504 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.492, allocations: 0 / 1.496 GB, free: 7.504 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.495, allocations: 0.6746 MB / 1.496 GB, free: 6.832 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/1.501, allocations: 1.317 MB / 1.498 GB, free: 5.531 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007307/1.509, allocations: 3.671 MB / 1.501 GB, free: 1.781 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/1.51, allocations: 1.478 MB / 1.503 GB, free: 280 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/1.511, allocations: 183.4 kB / 1.503 GB, free: 96 kB / 1.186 GB Notification: Performance of SimCode: time 7.12e-07/1.511, allocations: 0 / 1.503 GB, free: 96 kB / 1.186 GB Notification: Performance of Templates: time 0.09668/1.608, allocations: 62.76 MB / 1.564 GB, free: 1.629 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.755934853106737]