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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 107.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 250 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.13/3.13, allocations: 489.7 MB / 0.7761 GB, free: 33.64 MB / 0.6231 GB [Timeout remaining time 86] 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=500,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=500,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.001941/0.001941, allocations: 65.03 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4151, allocations: 172.1 MB / 1.295 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.151/0.5661, allocations: 133.5 MB / 1.425 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03972/0.6058, allocations: 23.28 MB / 1.448 GB, free: 14.47 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006309/0.6122, allocations: 127.2 kB / 1.448 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.6182, allocations: 1.545 MB / 1.45 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.6341, allocations: 4.311 MB / 1.454 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007398/0.6415, allocations: 2.204 MB / 1.456 GB, free: 6.277 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01265/0.6542, allocations: 6.537 MB / 1.462 GB, free: 15.72 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/0.6588, allocations: 1.902 MB / 1.464 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009662/0.6685, allocations: 3.068 MB / 1.467 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005106/0.6736, allocations: 1.945 MB / 1.469 GB, free: 8.734 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009368/0.6745, allocations: 248 kB / 1.469 GB, free: 8.492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006463/0.681, allocations: 1.969 MB / 1.471 GB, free: 6.52 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.6821, allocations: 0.6185 MB / 1.472 GB, free: 5.898 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003293/0.6854, allocations: 1.462 MB / 1.473 GB, free: 4.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.6966, allocations: 4.387 MB / 1.478 GB, free: 28 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6966, allocations: 4 kB / 1.478 GB, free: 24 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6966, allocations: 0 / 1.478 GB, free: 24 kB / 1.17 GB Notification: Performance of Transformations before backend: time 9.432e-05/0.6967, allocations: 0 / 1.478 GB, free: 24 kB / 1.17 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.007814/0.7045, allocations: 3.274 MB / 1.481 GB, free: 12.66 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.7046, allocations: 12.02 kB / 1.481 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.7092, allocations: 0.8496 MB / 1.482 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005776/0.715, allocations: 2.341 MB / 1.484 GB, free: 9.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.7152, allocations: 123 kB / 1.484 GB, free: 9.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.7155, allocations: 160 kB / 1.484 GB, free: 9.105 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.7201, allocations: 1.926 MB / 1.486 GB, free: 7.113 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.7201, allocations: 4 kB / 1.486 GB, free: 7.109 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.7203, allocations: 60 kB / 1.486 GB, free: 7.051 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.7203, allocations: 40 kB / 1.486 GB, free: 7.012 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.7252, allocations: 1.803 MB / 1.488 GB, free: 5.207 MB / 1.186 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.01551/0.7407, allocations: 9.022 MB / 1.497 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.7452, allocations: 1.142 MB / 1.498 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.7463, allocations: 433.4 kB / 1.498 GB, free: 9.992 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.7477, allocations: 1.723 MB / 1.5 GB, free: 7.883 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.7478, allocations: 46.5 kB / 1.5 GB, free: 7.828 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 2.686e-06/0.7478, allocations: 0 / 1.5 GB, free: 7.828 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.00898/0.7568, allocations: 2.346 MB / 1.502 GB, free: 5.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.7568, allocations: 85.11 kB / 1.502 GB, free: 5.328 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.7615, allocations: 2.532 MB / 1.505 GB, free: 2.777 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.7617, allocations: 45.7 kB / 1.505 GB, free: 2.727 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.7627, allocations: 1.051 MB / 1.506 GB, free: 1.668 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.7631, allocations: 285.6 kB / 1.506 GB, free: 1.387 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/0.7635, allocations: 250.8 kB / 1.506 GB, free: 1.133 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7637, allocations: 349.9 kB / 1.507 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.7655, allocations: 0.5725 MB / 1.507 GB, free: 220 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.7676, allocations: 0.9581 MB / 1.508 GB, free: 15.11 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.7706, allocations: 1.244 MB / 1.509 GB, free: 13.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.7707, allocations: 4 kB / 1.509 GB, free: 13.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006755/0.7774, allocations: 2.041 MB / 1.511 GB, free: 11.69 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.7774, allocations: 8 kB / 1.511 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.7775, allocations: 8 kB / 1.511 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.7794, allocations: 495.4 kB / 1.512 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.7806, allocations: 279.6 kB / 1.512 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.7829, allocations: 1.514 MB / 1.514 GB, free: 9.348 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.7859, allocations: 370.5 kB / 1.514 GB, free: 8.984 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.7861, allocations: 59.97 kB / 1.514 GB, free: 8.926 MB / 1.217 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.0009914/0.7871, allocations: 458.9 kB / 1.514 GB, free: 8.469 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.7876, allocations: 266.3 kB / 1.515 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.7913, allocations: 1.505 MB / 1.516 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.7913, allocations: 15.98 kB / 1.516 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7913, allocations: 0 / 1.516 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.7913, allocations: 3.984 kB / 1.516 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008094/0.7994, allocations: 3.614 MB / 1.52 GB, free: 2.941 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.7995, allocations: 4 kB / 1.52 GB, free: 2.938 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.8001, allocations: 132.1 kB / 1.52 GB, free: 2.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.8019, allocations: 493 kB / 1.52 GB, free: 2.32 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.8019, allocations: 19.98 kB / 1.52 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.8047, allocations: 1.591 MB / 1.522 GB, free: 0.6602 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.8047, allocations: 7.938 kB / 1.522 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006489/0.8112, allocations: 1.934 MB / 1.524 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/0.8128, allocations: 0.4951 MB / 1.524 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/0.8132, allocations: 27.88 kB / 1.524 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.8148, allocations: 135.8 kB / 1.524 GB, free: 13.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.815, allocations: 51.92 kB / 1.525 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/0.815, allocations: 43.97 kB / 1.525 GB, free: 13.89 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003373/0.8184, allocations: 1.769 MB / 1.526 GB, free: 12.11 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8184, allocations: 0 / 1.526 GB, free: 12.11 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00266/0.8211, allocations: 0.7018 MB / 1.527 GB, free: 11.41 MB / 1.232 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.001394/0.8225, allocations: 0.6287 MB / 1.528 GB, free: 10.78 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004174/0.8266, allocations: 1.303 MB / 1.529 GB, free: 9.484 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8267, allocations: 192 / 1.529 GB, free: 9.484 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.829, allocations: 0.651 MB / 1.529 GB, free: 8.832 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006292/0.8353, allocations: 1.329 MB / 1.531 GB, free: 7.523 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/0.8426, allocations: 3.654 MB / 1.534 GB, free: 3.785 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.8438, allocations: 1.489 MB / 1.536 GB, free: 2.262 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.8445, allocations: 183.4 kB / 1.536 GB, free: 2.082 MB / 1.232 GB Notification: Performance of SimCode: time 1.253e-06/0.8445, allocations: 0 / 1.536 GB, free: 2.082 MB / 1.232 GB Notification: Performance of Templates: time 0.08813/0.9327, allocations: 62.94 MB / 1.597 GB, free: 3.469 MB / 1.295 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] 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/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